Skip to content

Commit fb699a9

Browse files
committed
Don't print parser output twice
Fixes #13329
1 parent 86c9a7e commit fb699a9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/parsing/ParserPhase.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ class Parser extends Phase {
3636
firstXmlPos = p.firstXmlPos
3737
tree
3838
}
39-
40-
val printer = if (ctx.settings.Xprint.value.contains(Parser.name)) default else typr
41-
printer.println("parsed:\n" + unit.untpdTree.show)
4239
if (Config.checkPositions)
4340
unit.untpdTree.checkPos(nonOverlapping = !unit.isJava && !ctx.reporter.hasErrors)
4441
}

0 commit comments

Comments
 (0)