Skip to content

Commit 287f865

Browse files
author
Lucy Martin
committed
Generated check.out files.
1 parent f7b57a8 commit 287f865

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

tests/neg/i20105.check.out.temp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

tests/warn/i20105.check.out.temp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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`

0 commit comments

Comments
 (0)