aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-05 16:39:21 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-05 16:39:21 +0100
commit5cce9b47427e96ab2159a88137ae74e92939b757 (patch)
tree474fc5439e752ac5d1cd4adaa9dafdefc99e82c8 /src
parent399cc10e8d6984583f18d4f3ee8a8eb6d1608d81 (diff)
downloaddotty-5cce9b47427e96ab2159a88137ae74e92939b757.tar.gz
dotty-5cce9b47427e96ab2159a88137ae74e92939b757.tar.bz2
dotty-5cce9b47427e96ab2159a88137ae74e92939b757.zip
Add more info on missing references in unpickler.
Trying to hunt down the flakey build.
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala b/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala
index 05d4a70fc..9269109ad 100644
--- a/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala
+++ b/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala
@@ -415,6 +415,8 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas
// println(owner.info.decls.toList.map(_.debugString).mkString("\n ")) // !!! DEBUG
// }
// (5) Create a stub symbol to defer hard failure a little longer.
+ println(i"***** missing reference, looking for $name in $owner")
+ println(i"decls = ${owner.info.decls}")
new Exception().printStackTrace()
ctx.newStubSymbol(owner, name, source)
}