[#208] | project: compiler | priority: low | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Vincent | Martin | fixed | 2003-10-22 16:51:29.0 | |
subject | object nested in function | |||
code |
object Test { def f = { object o { trait T; } o } } |
|||
what happened | At compile time: Exception in thread "main" java.lang.AssertionError: object Test.o$0 at scalac.ast.TreeGen.mkStableId(TreeGen.java:285) at scalac.ast.TreeGen.mkRef(TreeGen.java:273) ... |
|||
what expected | A normal compilation error. | |||
[back to overview] |
Martin edited on 2004-04-18 11:41:25.0 |
Burak edited on 2004-07-05 12:13:17.0 |
(just add <pre> tag to "what happened") |