diff --git a/compiler/src/dotty/tools/dotc/transform/TailRec.scala b/compiler/src/dotty/tools/dotc/transform/TailRec.scala index 9c23799530c0..4f6d5dace29b 100644 --- a/compiler/src/dotty/tools/dotc/transform/TailRec.scala +++ b/compiler/src/dotty/tools/dotc/transform/TailRec.scala @@ -70,7 +70,6 @@ class TailRec extends MiniPhaseTransform with DenotTransformer with FullParamete override def transform(ref: SingleDenotation)(implicit ctx: Context): SingleDenotation = ref override def phaseName: String = "tailrec" - override def treeTransformPhase = thisTransform // TODO Make sure tailrec runs at next phase. final val labelFlags = Flags.Synthetic | Flags.Label