diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/UnPickler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/UnPickler.scala b/src/compiler/scala/tools/nsc/symtab/classfile/UnPickler.scala index 4ad716da6f..201e086176 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/UnPickler.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/UnPickler.scala @@ -121,7 +121,7 @@ abstract class UnPickler { val owner = if (readIndex == end) definitions.RootClass else readSymbolRef() sym = if (tag == EXTref) owner.info.decl(name) else if (name.toTermName == nme.ROOT) definitions.RootClass - else if (name.toTermName == nme.ROOTPKG) definitions.RootPackage + else if (name == nme.ROOTPKG) definitions.RootPackage else owner.info.decl(name).moduleClass if (sym == NoSymbol) errorBadSignature( |