Skip to content

Commit daef8ec

Browse files
committed
Update runsAfter info for LambdaLift
I verified experimentally that LamdaLift and Constructors cannot run in the same group.
1 parent b865cee commit daef8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/LambdaLift.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
6666

6767
override def relaxedTyping = true
6868

69-
override def runsAfter: Set[Class[_ <: Phase]] = Set(classOf[Constructors], classOf[HoistSuperArgs])
69+
override def runsAfterGroupsOf: Set[Class[_ <: Phase]] = Set(classOf[Constructors], classOf[HoistSuperArgs])
7070
// Constructors has to happen before LambdaLift because the lambda lift logic
7171
// becomes simpler if it can assume that parameter accessors have already been
7272
// converted to parameters in super calls. Without this it is very hard to get

0 commit comments

Comments
 (0)