summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-01 13:01:59 -0700
committerPaul Phillips <paulp@improving.org>2012-11-02 00:08:34 -0700
commit77a45858777554c6e1fb7b9583359a6a492ec066 (patch)
tree619dd3849b1d0b4d3e91ef1cb6bce819e9cf5767 /src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
parent14704da1b854e04d8e8de81eb7741757f33a2d13 (diff)
downloadscala-77a45858777554c6e1fb7b9583359a6a492ec066.tar.gz
scala-77a45858777554c6e1fb7b9583359a6a492ec066.tar.bz2
scala-77a45858777554c6e1fb7b9583359a6a492ec066.zip
The improvements made possible by the scope changes.
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
index 42589874fe..e69b4bee94 100644
--- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
+++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
@@ -562,7 +562,7 @@ abstract class ClassfileParser {
0 until in.nextChar foreach (_ => parseMethod())
val needsConstructor = (
!sawPrivateConstructor
- && instanceScope.lookup(nme.CONSTRUCTOR) == NoSymbol
+ && !(instanceScope containsName nme.CONSTRUCTOR)
&& (sflags & INTERFACE) == 0
)
if (needsConstructor)