Compiler crashes:
Exception in thread "main" java.lang.Error: unexpected tree:
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2397)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2417)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:2470)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:2320)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2417)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2450)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$0(Typers.scala:1339)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:1362)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:1362)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.List$.loop$0(List.scala:247)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1362)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:973)
at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:886)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:1950)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2417)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2450)
at scala.tools.nsc.typechecker.Typers$Typer.typedStat$0(Typers.scala:1339)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:1362)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$55.apply(Typers.scala:1362)
at scala.List$.loop$0(List.scala:243)
at scala.List$.mapConserve(List.scala:260)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:1362)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:1943)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2417)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:2450)
at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$1.apply(Analyzer.scala:38)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:231)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$2.apply(Global.scala:220)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$2.apply(Global.scala:220)
at scala.Iterator$class.foreach(Iterator.scala:380)
at scala.collection.mutable.ListBuffer$$anon$0.foreach(ListBuffer.scala:245)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:220)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:488)
at scala.tools.nsc.Global$Run.compile(Global.scala:559)
at scala.tools.nsc.Main$.process(Main.scala:57)
at scala.tools.nsc.Main$.main(Main.scala:79)
at scala.tools.nsc.Main.main(Main.scala)
|