Compile test/Foo.scala in resident mode. Initially, Foo is a class. After the first compile, change Foo into an \
object. Then recompile:
Exception in thread "main" java.lang.Error: assertion failed: List((object Foo,scala.tools.nsc.symtab.classfile.\
Pickler$Pickle@16917ee))
at scala.Predef$.assert(Predef.scala:144)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:408)
at scala.tools.nsc.Global$Run.compile(Global.scala:446)
at scala.tools.nsc.Main$$anonfun0.apply(Main.scala:37)
at scala.tools.nsc.Main$$anonfun0.apply(Main.scala:34)
at scala.tools.nsc.EvalLoop$class.loop(EvalLoop.scala:14)
at scala.tools.nsc.Main$.loop(Main.scala:14)
at scala.tools.nsc.Main$.resident(Main.scala:34)
at scala.tools.nsc.Main$.process(Main.scala:53)
at scala.tools.nsc.Main$.main(Main.scala:69)
at scala.tools.nsc.Main.main(Main.scala)
|