score:0

Tested on 2.8.1.final. Strange thing. The first time I run it failed with:

Could not connect to compilation daemon.
Exception in thread "main" java.lang.Exception: fsc failure
        at scala.tools.nsc.CompileSocket.fatal(CompileSocket.scala:50)
        at scala.tools.nsc.CompileSocket.getPort(CompileSocket.scala:122)
        at scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:152)
        at scala.tools.nsc.CompileSocket.getOrCreateSocket(CompileSocket.scala:170)
        at scala.tools.nsc.ScriptRunner$.compileWithDaemon(ScriptRunner.scala:145)
        at scala.tools.nsc.ScriptRunner$.compile$1(ScriptRunner.scala:197)
        at scala.tools.nsc.ScriptRunner$.withCompiledScript(ScriptRunner.scala:225)
        at scala.tools.nsc.ScriptRunner$.runScript(ScriptRunner.scala:265)
        at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:91)
        at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)

The second time it passed successfully:

>scala TestActor.scala
A lot of what acting is, is paying attention.

Related Query

More Query from same tag