Skip to content

Commit e034f07

Browse files
authored
Merge pull request #13308 from dotty-staging/add-rechecker-cc
Add rechecker
2 parents 12cb6c5 + 7dbf9fa commit e034f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/Compiler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class Compiler {
101101
new TupleOptimizations, // Optimize generic operations on tuples
102102
new LetOverApply, // Lift blocks from receivers of applications
103103
new ArrayConstructors) :: // Intercept creation of (non-generic) arrays and intrinsify.
104-
List(new PreRecheck) ::
105-
List(new TestRecheck) ::
104+
List(new PreRecheck) :: // Preparations for recheck phase, enabled under -Yrecheck
105+
List(new TestRecheck) :: // Test rechecking, enabled under -Yrecheck
106106
List(new Erasure) :: // Rewrite types to JVM model, erasing all type parameters, abstract types and refinements.
107107
List(new ElimErasedValueType, // Expand erased value types to their underlying implmementation types
108108
new PureStats, // Remove pure stats from blocks

0 commit comments

Comments
 (0)