File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -455,11 +455,6 @@ class MegaPhase(val miniPhases: Array[MiniPhase]) extends Phase {
455
455
456
456
// Initialization code
457
457
458
- for ((phase, idx) <- miniPhases.zipWithIndex) {
459
- phase.superPhase = this
460
- phase.idxInGroup = idx
461
- }
462
-
463
458
/** Class#getDeclaredMethods is slow, so we cache its output */
464
459
private val clsMethodsCache = new java.util.IdentityHashMap [Class [? ], Array [java.lang.reflect.Method ]]
465
460
@@ -564,6 +559,11 @@ class MegaPhase(val miniPhases: Array[MiniPhase]) extends Phase {
564
559
private val nxOtherPrepPhase = init(" prepareForOther" )
565
560
private val nxOtherTransPhase = init(" transformOther" )
566
561
562
+ for ((phase, idx) <- miniPhases.zipWithIndex) {
563
+ phase.superPhase = this
564
+ phase.idxInGroup = idx
565
+ }
566
+
567
567
// Boilerplate snippets
568
568
569
569
def prepIdent (tree : Ident , start : Int )(using Context ): Context = {
You can’t perform that action at this time.
0 commit comments