diff options
author | Martin Odersky <odersky@gmail.com> | 2015-11-09 15:59:36 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-11-09 15:59:36 +0100 |
commit | b112b2b7c5caa11675242e7c79fe0461673e7668 (patch) | |
tree | ab7c8bca5ef89d2e1a073ab2eac3bd0eca41cde0 /src/dotty/tools/dotc/core/unpickleScala2 | |
parent | 581960acfe3ff12e3e738ee5714f418d6baf90e7 (diff) | |
download | dotty-b112b2b7c5caa11675242e7c79fe0461673e7668.tar.gz dotty-b112b2b7c5caa11675242e7c79fe0461673e7668.tar.bz2 dotty-b112b2b7c5caa11675242e7c79fe0461673e7668.zip |
Print missing ref diagnostics on stderr
Was stdout, but this gets mixed up with the exception printing on stderr.
Diffstat (limited to 'src/dotty/tools/dotc/core/unpickleScala2')
-rw-r--r-- | src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |