Aladdin - Scala Bugtracking
[#372] project: compiler priority: medium category: bug
submitter assigned to status date submitted
Stephane Philippe fixed 2004-11-01 11:16:29.0
subject AssertionError in AddInterfaces phase
code
class Names;

class Symbols: (Symbols with Names /*with Types*/);
what happened
Exception in thread "main" java.lang.AssertionError: Symbols - Symbols$class - Symbols with Names - 0 - Sym\
bols$class
    at scalac.symtab.ClassSymbol$ClonedThisSymLazyType.
        getTypeFor(Symbol.java:2200)
    at scalac.symtab.ClassSymbol$ClonedThisSymLazyType.
        complete(Symbol.java:2216)
    at scalac.symtab.Symbol.info(Symbol.java:1143)
    [...]
what expected Does compile!
[back to overview]
Changes of this bug report
Martin  edited on  2004-11-18 15:24:48.0
I think this one is for either Philippe or Michel.
Philippe  edited on  2004-11-18 18:06:25.0
Fixed class ClassSymbol.ClonedThisSymLazyType to take into account that clasz.type() may appear anywhere in clasz.typeOfThis().