Aladdin - Scala Bugtracking
[#115] project: compiler priority: high category: bug
submitter assigned to status date submitted
Matthias Martin fixed 2003-09-10 12:18:17.0
subject Interaction between lifting and ExplicitOuter
code
class S[A](f: A => A);
class T(y: Int) extends S(x: Int => x + y);
what happened
Crashes the compiler:
Exception in thread "main" java.lang.AssertionError:
        at scalac.ast.TreeGen.Ident(TreeGen.java:543)
        at scalac.transformer.ExplicitOuterClassesPhase$8.genOuterRef(ExplicitOuterClassesPhase.java:354)
        at scalac.transformer.ExplicitOuterClassesPhase$8.transform(ExplicitOuterClassesPhase.java:259)
        at scalac.ast.Transformer.transform(Transformer.java:276)
        at scalac.ast.Transformer.transform(Transformer.java:206)
        at scalac.transformer.ExplicitOuterClassesPhase$8.transform(ExplicitOuterClassesPhase.java:283)
        at scalac.ast.Transformer.transform(Transformer.java:112)
        at scalac.transformer.ExplicitOuterClassesPhase$8.transform(ExplicitOuterClassesPhase.java:283)
        at scalac.ast.Transformer.transform(Transformer.java:276)
        at scalac.transformer.ExplicitOuterClassesPhase$8.transform(ExplicitOuterClassesPhase.java:229)
        at scalac.ast.Transformer.transform(Transformer.java:281)
        at scalac.ast.Transformer.apply(Transformer.java:67)
        at scalac.ast.Transformer.apply(Transformer.java:62)
        at scalac.transformer.ExplicitOuterClassesPhase.apply(ExplicitOuterClassesPhase.java:117)
        at scalac.Global.compile(Global.java:293)
        at scalac.Global.compile(Global.java:266)
        at scalac.Main.main(Main.java:32)
what expected Compiles.
[back to overview]
Changes of this bug report
Matthias  edited on  2003-09-10 12:18:45.0
Burak  edited on  2003-09-23 18:28:18.0
Martin  edited on  2003-09-25 12:12:18.0