summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala b/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala
index 2b37a28853..c26ea38b55 100644
--- a/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala
+++ b/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala
@@ -75,7 +75,7 @@ abstract class Pickler extends SubComponent {
* Such symbols should be treated as if they were local.
*/
private def isUnrootedExistential(sym: Symbol) =
- sym.isAbstractType && sym.hasFlag(EXISTENTIAL) && sym.owner.isPackageClass
+ sym.isAbstractType && sym.hasFlag(EXISTENTIAL)
private def normalizedOwner(sym: Symbol) =
if (isUnrootedExistential(sym)) root else sym.owner