Hello,
This simple program provokes the crash:
class ABug
enum Tag
case first
import Tag._
val xx = first
The reported error is
Error while emitting ABug.scala
exception occurred while compiling ABug.scala
java.lang.AssertionError: assertion failed: failure to construct path from package <root> to `this` of class ABug;
package <root> does not have an outer accessor while compiling ABug.scala
Exception in thread "main" java.lang.AssertionError: assertion failed: failure to construct path from package <root> to `this` of class ABug;
package <root> does not have an outer accessor