diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-24 00:26:30 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-24 00:26:30 +0100 |
commit | b791ef8e586d86af68f1212c9abecc22bb2d4de1 (patch) | |
tree | 2d66deb239c59a392129e42ba112532863ffbdaa /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 8ea3a4627c7dc66f65705ec9822c01a2225eacae (diff) | |
download | dotty-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/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 3a6737403..93de8e4ff 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -98,11 +98,11 @@ object SymDenotations { private def completeFrom(completer: LazyType): Unit = { if (_flags is Touched) throw new CyclicReference(this) _flags |= Touched - Context.theBase.initialCtx.traceIndented( // !!! DEBUG - ">>>> completing "+this.debugString+"/"+owner.id, - "<<<< completed: "+this.debugString) { +// Context.theBase.initialCtx.traceIndented( // !!! DEBUG +// ">>>> completing "+this.debugString+"/"+owner.id, +// "<<<< completed: "+this.debugString) { completer.complete(this) - } +// } } protected[core] final def info_=(tp: Type) = { @@ -740,7 +740,7 @@ object SymDenotations { var fp = FingerPrint() var e = info.decls.lastEntry while (e != null) { - fp.include(name) + fp.include(e.sym.name) e = e.prev } var ps = classInfo.classParents |