blob: e40a8bc66225041633c6fbfa079518e213629aa1 (
plain) (
tree)
|
|
import scala.tools.nsc._
object Test {
val testCode = """
import java.lang.Thread.`yield`
import scala.`package`.Throwable
`yield`
"""
def main(args: Array[String]) {
val settings = new Settings()
settings.classpath.value = System.getProperty("java.class.path")
val repl = new interpreter.IMain(settings)
repl.interpret(testCode)
}
}
|