diff options
-rw-r--r-- | src/dotty/tools/dotc/core/Phases.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Phases.scala b/src/dotty/tools/dotc/core/Phases.scala index 039bba164..3cc59292c 100644 --- a/src/dotty/tools/dotc/core/Phases.scala +++ b/src/dotty/tools/dotc/core/Phases.scala @@ -29,7 +29,7 @@ object Phases { lazy val allPhases = phases.slice(FirstPhaseId, nphases) - val NoPhase = new Phase(initialCtx) { + object NoPhase extends Phase(initialCtx) { def name = "<no phase>" def run() { throw new Error("NoPhase.run") } } |