File tree 3 files changed +131
-151
lines changed
compiler/src/dotty/tools/dotc
3 files changed +131
-151
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ object Printers {
31
31
val plugins : Printer = noPrinter
32
32
val simplify : Printer = noPrinter
33
33
val subtyping : Printer = noPrinter
34
+ val tailrec : Printer = noPrinter
34
35
val transforms : Printer = noPrinter
35
36
val typr : Printer = noPrinter
36
37
val unapp : Printer = noPrinter
Original file line number Diff line number Diff line change @@ -1804,7 +1804,7 @@ object messages {
1804
1804
val symbolKind = symbol.showKind
1805
1805
val msg =
1806
1806
if (symbol.is(Method ))
1807
- hl " TailRec optimisation not applicable, $symbol is neither ${ " private " } nor ${ " final " } . "
1807
+ hl " TailRec optimisation not applicable, method not tail recursive "
1808
1808
else
1809
1809
hl " TailRec optimisation not applicable, ${symbolKind} isn't a method. "
1810
1810
val explanation =
You can’t perform that action at this time.
0 commit comments