Skip to content

Commit b112b2b

Browse files
committed
Print missing ref diagnostics on stderr
Was stdout, but this gets mixed up with the exception printing on stderr.
1 parent 581960a commit b112b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/core/unpickleScala2/Scala2Unpickler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas
419419
// println(owner.info.decls.toList.map(_.debugString).mkString("\n ")) // !!! DEBUG
420420
// }
421421
// (5) Create a stub symbol to defer hard failure a little longer.
422-
println(i"***** missing reference, looking for $name in $owner")
423-
println(i"decls = ${owner.info.decls}")
422+
System.err.println(i"***** missing reference, looking for $name in $owner")
423+
System.err.println(i"decls = ${owner.info.decls}")
424424
new Exception().printStackTrace()
425425
ctx.newStubSymbol(owner, name, source)
426426
}

0 commit comments

Comments
 (0)