Skip to content

Commit 490877e

Browse files
committed
Bring tailrec back to group.
1 parent 7e927f4 commit 490877e

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 ElimLocals,
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)