Skip to content

Commit 77896af

Browse files
author
Antonio Cunei
committed
Backported r17719
1 parent add8969 commit 77896af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ abstract class Pickler extends SubComponent {
7575
* Such symbols should be treated as if they were local.
7676
*/
7777
private def isUnrootedExistential(sym: Symbol) =
78-
sym.isAbstractType && sym.hasFlag(EXISTENTIAL) && sym.owner.isPackageClass
78+
sym.isAbstractType && sym.hasFlag(EXISTENTIAL)
7979

8080
private def normalizedOwner(sym: Symbol) =
8181
if (isUnrootedExistential(sym)) root else sym.owner

0 commit comments

Comments
 (0)