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 @@ -1797,7 +1797,7 @@ object messages {
1797
1797
val symbolKind = symbol.showKind
1798
1798
val msg =
1799
1799
if (symbol.is(Method ))
1800
- hl " TailRec optimisation not applicable, $symbol is neither ${ " private " } nor ${ " final " } . "
1800
+ hl " TailRec optimisation not applicable, method not tail recursive "
1801
1801
else
1802
1802
hl " TailRec optimisation not applicable, ${symbolKind} isn't a method. "
1803
1803
val explanation =
You can’t perform that action at this time.
0 commit comments