Exception in thread "main" java.lang.AssertionError: class Test. Test.this.x.type value x -1
at scalac.symtab.TypeSymbol.adjustType(Symbol.java:1653)
at scalac.symtab.TypeSymbol.adjustType(Symbol.java:1658)
at scalac.symtab.TypeSymbol.computeClosureAt(Symbol.java:1621)
at scalac.symtab.TypeSymbol.closure(Symbol.java:1579)
at scalac.typechecker.RefCheck.validateBaseTypes(RefCheck.java:333)
at scalac.typechecker.RefCheck.transform(RefCheck.java:1015)
at scalac.ast.Transformer.transform(Transformer.java:120)
at scalac.typechecker.RefCheck.transform(RefCheck.java:963)
at scalac.typechecker.RefCheck.transformStat(RefCheck.java:933)
at scalac.typechecker.RefCheck.transformStats(RefCheck.java:890)
at scalac.typechecker.RefCheck.transform(RefCheck.java:971)
at scalac.ast.Transformer.transform(Transformer.java:272)
at scalac.ast.Transformer.transform(Transformer.java:86)
at scalac.typechecker.RefCheck.transform(RefCheck.java:945)
at scalac.typechecker.RefCheck.transformStat(RefCheck.java:933)
at scalac.typechecker.RefCheck.transformStats(RefCheck.java:890)
at scalac.typechecker.RefCheck.apply(RefCheck.java:54)
at scalac.typechecker.RefCheckPhase.apply(RefCheckPhase.java:26)
at scalac.Global.compile(Global.java:306)
at scalac.Global.compile(Global.java:278)
at scala.tools.scalac.Main$.main(sources/scala/tools/scalac/Main.scala:33)
at scala.tools.scalac.Main.main(sources/scala/tools/scalac/Main.scala)
|