For using resident compiler:
tsf-wpa-2-067:~/workspace/test20/src mcdirmid$ ../../scala/build/quick/bin/scalac -d ../bin/ -resident
nsc> test/BracesXXX.scala test/ParserXXX.scala test/ScalaTestYYY.scala
nsc> test/ParserXXX.scala test/ScalaTestYYY.scala
Running:
mcdirmid% ../../scala/build/quick/bin/scala test.ScalaTestYYY
Hello
java.lang.AbstractMethodError: test.ScalaTestYYY$Open.matching()Ltest/ParserXXX$NodeImpl;
at test.ScalaTestYYY$.main(ScalaTestYYY.scala:5)
at test.ScalaTestYYY.main(ScalaTestYYY.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:55)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:96)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
Looks like another sandwhich problem.
|