[#201] | project: compiler | priority: medium | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Vincent | Martin | fixed | 2003-10-20 13:33:28.0 | |
subject | free variable | |||
code |
class C[a] { def f: a = f; } class D[a] { class E extends C[a]; } object Test { val d = new D[int]; val e = new d.E; e.f; } |
|||
what happened | Exception in thread "main" java.lang.AssertionError: type a in constructor D at scalac.transformer.LambdaLift$FreeVars.markFree(LambdaLift.java:178) ... ... |
|||
what expected | Silent compilation. | |||
[back to overview] |
Martin edited on 2003-10-20 21:35:23.0 |