sean-mcdirmids-computer:~/workspace/test10/src mcdirmid$ ../../scala/build/quick/bin/scalac -d . -sourcepath . t\
est/*.scala
sean-mcdirmids-computer:~/workspace/test10/src mcdirmid$ javap -private test.E
Compiled from "E.scala"
public class test.E extends java.lang.Object implements test.B,scala.ScalaObject{
private test.B$xxx$ test$B$$xxx$module;
public test.E();
public int $tag();
public final test.B$xxx$ test$B$$xxx();
}
sean-mcdirmids-computer:~/workspace/test10/src mcdirmid$ ../../scala/build/quick/bin/scalac -d . -sourcepath . t\
est/E.scala
sean-mcdirmids-computer:~/workspace/test10/src mcdirmid$ javap -private test.E
Compiled from "E.scala"
public class test.E extends java.lang.Object implements test.B,scala.ScalaObject{
public test.E();
public int $tag();
}
sean-mcdirmids-computer:~/workspace/test10/src mcdirmid$
Running it is even more fun:
Exception in thread "main" java.lang.AbstractMethodError: test.E.test$B$$xxx()Ltest/B$xxx$;
at test.B$Node$class.foo(B.scala:8)
at test.E$Node.foo(E.scala:4)
at test.E.(E.scala:5)
at test.Test$.main(Test.scala:5)
at test.Test.main(Test.scala)
|