Closed scabug closed 13 years ago
Imported From: https://issues.scala-lang.org/browse/SI-1030?orig=1 Reporter: Geoffrey Alan Washburn (washburn)
Michael Pradel (pradel) said: I cannot reproduce it with scalac (only in the interpreter). Putting it in an object or a class works fine.
Geoffrey Alan Washburn (washburn) said: Interesting. I tried some additional variations, and I can in fact browse the tree at the refchecks stage if I use the compiler. Looking closer at the stack trace, the fact that this occurs in adaptToNewRunMap does seem like this is more of an issue related to the interpreter or fsc. However, I still think that my proposal to erase objects to be vals in structural types is the correct overall direction.
@odersky said: fixed in r15613