diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-13 10:13:03 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-13 10:13:03 +0000 |
commit | 1e3c53fc745b6a46b2b329cce615c701bd7cec30 (patch) | |
tree | 0238586a8efccd194987121c2b31b7a00143007e /src/compiler | |
parent | 304a455e65cb345b447c0c58bf4f70e620ebeca4 (diff) | |
download | scala-1e3c53fc745b6a46b2b329cce615c701bd7cec30.tar.gz scala-1e3c53fc745b6a46b2b329cce615c701bd7cec30.tar.bz2 scala-1e3c53fc745b6a46b2b329cce615c701bd7cec30.zip |
Tentative fix for both #715 and #1896.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala | 2 |
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 |