From 5cce9b47427e96ab2159a88137ae74e92939b757 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 5 Nov 2015 16:39:21 +0100 Subject: Add more info on missing references in unpickler. Trying to hunt down the flakey build. --- src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) } -- cgit v1.2.3