diff options
Diffstat (limited to 'sources/scalac/symtab/classfile/ClassfileParser.java')
-rw-r--r-- | sources/scalac/symtab/classfile/ClassfileParser.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/scalac/symtab/classfile/ClassfileParser.java b/sources/scalac/symtab/classfile/ClassfileParser.java index 073df39e90..f7186b886d 100644 --- a/sources/scalac/symtab/classfile/ClassfileParser.java +++ b/sources/scalac/symtab/classfile/ClassfileParser.java @@ -147,7 +147,9 @@ public class ClassfileParser implements ClassfileConstants { int savedFlags = c.flags; c.flags |= Modifiers.INITIALIZED; // hack to make memberType in addInheritedOverloaded work - addInheritedOverloaded(); + if (global.currentPhase.id <= global.PHASE.REFCHECK.id() && + !c.name.toString().endsWith("$class")) + addInheritedOverloaded(); //if (global.debug) { // Symbol[] elems = c.members().elements(); |