File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import dotty.tools.backend.jvm.{LabelDefs, GenBCode}
7
7
import util .DotClass
8
8
import DenotTransformers ._
9
9
import Denotations ._
10
+ import Decorators ._
10
11
import config .Printers ._
11
12
import scala .collection .mutable .{ListBuffer , ArrayBuffer }
12
13
import dotty .tools .dotc .transform .TreeTransforms .{TreeTransformer , MiniPhase , TreeTransform }
@@ -121,10 +122,9 @@ object Phases {
121
122
phase
122
123
}
123
124
squashedPhases += phaseToAdd
124
- val shouldAddYCheck = YCheckAfter .exists(nm => phaseToAdd.phaseName.contains(nm) ) || YCheckAll
125
+ val shouldAddYCheck = YCheckAfter .containsPhase( phaseToAdd) || YCheckAll
125
126
if (shouldAddYCheck) {
126
127
val checker = new TreeChecker
127
-
128
128
squashedPhases += checker
129
129
}
130
130
}
You can’t perform that action at this time.
0 commit comments