diff --git a/compiler/src/dotty/tools/dotc/ast/Positioned.scala b/compiler/src/dotty/tools/dotc/ast/Positioned.scala index e64dda2dc307..75f210d58704 100644 --- a/compiler/src/dotty/tools/dotc/ast/Positioned.scala +++ b/compiler/src/dotty/tools/dotc/ast/Positioned.scala @@ -36,7 +36,7 @@ abstract class Positioned(implicit @constructorOnly src: SourceFile) extends Src ids.put(this, ownId) if ownId == debugId then println(s"Debug tree (id=$debugId) creation \n$this\n") - Reporter.displayPrompt(Console.in, new PrintWriter(Console.err, true)) + Thread.dumpStack() allocateId()