We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a39160 commit e82087aCopy full SHA for e82087a
src/dotty/tools/dotc/Run.scala
@@ -62,8 +62,7 @@ class Run(comp: Compiler)(implicit ctx: Context) {
62
units = phase.runOn(units)
63
def foreachUnit(op: Context => Unit)(implicit ctx: Context): Unit =
64
for (unit <- units) op(ctx.fresh.setPhase(phase.next).setCompilationUnit(unit))
65
- if (ctx.settings.Xprint.value.containsPhase(phase) ||
66
- (ctx.settings.print.value && phase == ctx.allPhases.last))
+ if (ctx.settings.Xprint.value.containsPhase(phase))
67
foreachUnit(printTree)
68
ctx.informTime(s"$phase ", start)
69
}
0 commit comments