blob: f5daca3d30294e3d6432f67655c8bb71b5a53a77 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import scala.tools.nsc._
object Test extends Application {
class Foo { override def toString = "Foo" };
val int = new Interpreter(new Settings());
int.bind("foo", "Test.Foo", new Test.Foo());
}
|