From 7dbf9fad690d3fb8fb7af329d42ccf202255efb1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 17 Aug 2021 13:02:09 +0200 Subject: [PATCH] Cleanups # Conflicts: # compiler/src/dotty/tools/dotc/Compiler.scala --- compiler/src/dotty/tools/dotc/Compiler.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/Compiler.scala b/compiler/src/dotty/tools/dotc/Compiler.scala index e7e76d16a4f5..33b78e9fe945 100644 --- a/compiler/src/dotty/tools/dotc/Compiler.scala +++ b/compiler/src/dotty/tools/dotc/Compiler.scala @@ -101,8 +101,8 @@ class Compiler { new TupleOptimizations, // Optimize generic operations on tuples new LetOverApply, // Lift blocks from receivers of applications new ArrayConstructors) :: // Intercept creation of (non-generic) arrays and intrinsify. - List(new PreRecheck) :: - List(new TestRecheck) :: + List(new PreRecheck) :: // Preparations for recheck phase, enabled under -Yrecheck + List(new TestRecheck) :: // Test rechecking, enabled under -Yrecheck List(new Erasure) :: // Rewrite types to JVM model, erasing all type parameters, abstract types and refinements. List(new ElimErasedValueType, // Expand erased value types to their underlying implmementation types new PureStats, // Remove pure stats from blocks