Skip to content

Commit 947f8a4

Browse files
Merge pull request #12994 from dotty-staging/repair-debug-tree
Fix -Ydebug-tree-with-id
2 parents 8a6703f + 9bc36e3 commit 947f8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/Positioned.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ abstract class Positioned(implicit @constructorOnly src: SourceFile) extends Src
3636
ids.put(this, ownId)
3737
if ownId == debugId then
3838
println(s"Debug tree (id=$debugId) creation \n$this\n")
39-
Reporter.displayPrompt(Console.in, new PrintWriter(Console.err, true))
39+
Thread.dumpStack()
4040

4141
allocateId()
4242

0 commit comments

Comments
 (0)