File tree 2 files changed +16
-0
lines changed 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ -- [E195] Syntax Warning: tests\neg\i20105.scala:6:9 -------------------------------------------------------------------
2
+ 6 | foo()
3
+ | ^^^^^
4
+ | The tail recursive def foo contains a recursive call inside the non-inlined inner def bar
5
+ |
6
+ | longer explanation available when compiling with `-explain`
7
+ -- [E097] Syntax Error: tests\neg\i20105.scala:3:4 ---------------------------------------------------------------------
8
+ 3 |def foo(): Unit = // error
9
+ | ^
10
+ | TailRec optimisation not applicable, method foo contains no recursive calls
Original file line number Diff line number Diff line change
1
+ -- [E195] Syntax Warning: tests\warn\i20105.scala:6:9 ------------------------------------------------------------------
2
+ 6 | foo() // warn
3
+ | ^^^^^
4
+ | The tail recursive def foo contains a recursive call inside the non-inlined inner def bar
5
+ |
6
+ | longer explanation available when compiling with `-explain`
You can’t perform that action at this time.
0 commit comments