From 1e960d14112b02e5d68fa75f6781f588aa339e78 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Tue, 12 Nov 2024 03:30:22 -0800 Subject: [PATCH] Requires new Compiler --- compiler/src/dotty/tools/dotc/config/CliCommand.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/config/CliCommand.scala b/compiler/src/dotty/tools/dotc/config/CliCommand.scala index 1e7e3b19a877..c79ed5ae0d7d 100644 --- a/compiler/src/dotty/tools/dotc/config/CliCommand.scala +++ b/compiler/src/dotty/tools/dotc/config/CliCommand.scala @@ -119,7 +119,7 @@ trait CliCommand: /** Used for the formatted output of -Xshow-phases */ protected def phasesMessage(using Context): String = - val compiler = Compiler() + val compiler = new Compiler() ctx.initialize() ctx.base.setPhasePlan(compiler.phases) val runCtx = assemblePhases()