diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala b/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala index b96fbe827c..2b37a28853 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala @@ -498,11 +498,8 @@ abstract class Pickler extends SubComponent { } else { writeRef(sym.name); EXTref } - if (!sym.owner.isRoot && sym.owner != NoSymbol) - writeRef(sym.owner) - - if (sym.owner == NoSymbol) NONEsym - else tag + if (!sym.owner.isRoot) writeRef(sym.owner) + tag case sym: ClassSymbol => val posOffset = writeSymInfo(sym) if (sym.thisSym.tpe != sym.tpe) writeRef(sym.typeOfThis) |