Skip to content

Commit a21e106

Browse files
committed
Merge pull request scala#446 from dotty-staging/tailrec-bring-to-group
Bringing tailrec back to group, cannot triger previous failure.
2 parents 2362081 + 3391a53 commit a21e106

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/dotty/tools/dotc/Compiler.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ class Compiler {
4545
List(new RefChecks,
4646
new ElimRepeated,
4747
new NormalizeFlags,
48-
new ExtensionMethods),
49-
List(new TailRec), // TailRec needs to be in its own group for now.
50-
// Otherwise it produces -Ycheck incorrect code for
51-
// file core/Decorators.scala.
48+
new ExtensionMethods,
49+
new TailRec),
5250
List(new PatternMatcher,
5351
new ExplicitOuter,
5452
new Splitter),

0 commit comments

Comments
 (0)