aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-24 00:26:30 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-24 00:26:30 +0100
commitb791ef8e586d86af68f1212c9abecc22bb2d4de1 (patch)
tree2d66deb239c59a392129e42ba112532863ffbdaa /src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
parent8ea3a4627c7dc66f65705ec9822c01a2225eacae (diff)
downloaddotty-b791ef8e586d86af68f1212c9abecc22bb2d4de1.tar.gz
dotty-b791ef8e586d86af68f1212c9abecc22bb2d4de1.tar.bz2
dotty-b791ef8e586d86af68f1212c9abecc22bb2d4de1.zip
Fixes fingerprint problems.
Also reducing debug output. Can now read and display all classes and objects in scala.collection.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileParser.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/ClassfileParser.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
index 60dfc9d9b..11dcd2152 100644
--- a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
+++ b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
@@ -125,7 +125,7 @@ class ClassfileParser(
instanceScope.lookup(nme.CONSTRUCTOR) == NoSymbol && !(sflags is Flags.Interface)
if (needsConstructor)
- instanceScope enter cctx.newDefaultConstructor(classRoot.symbol.asClass)
+ classRoot.enter(cctx.newDefaultConstructor(classRoot.symbol.asClass), instanceScope)
classInfo = parseAttributes(classRoot.symbol, classInfo)
setClassInfo(classRoot, classInfo)