Skip to content

Commit

Permalink
Merge pull request scala#12994 from dotty-staging/repair-debug-tree
Browse files Browse the repository at this point in the history
Fix -Ydebug-tree-with-id
  • Loading branch information
anatoliykmetyuk authored Jul 2, 2021
2 parents 8a6703f + 9bc36e3 commit 947f8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/ast/Positioned.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 947f8a4

Please sign in to comment.