From b112b2b7c5caa11675242e7c79fe0461673e7668 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 9 Nov 2015 15:59:36 +0100 Subject: Print missing ref diagnostics on stderr Was stdout, but this gets mixed up with the exception printing on stderr. --- src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala b/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala index b5d81d02e..af34371b7 100644 --- a/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala +++ b/src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala @@ -419,8 +419,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}") + System.err.println(i"***** missing reference, looking for $name in $owner") + System.err.println(i"decls = ${owner.info.decls}") new Exception().printStackTrace() ctx.newStubSymbol(owner, name, source) } -- cgit v1.2.3