-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lucy Martin
committed
Apr 12, 2024
1 parent
73aae73
commit dea5b00
Showing
4 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- [E195] Syntax Warning: tests\neg\i20105.scala:6:9 ------------------------------------------------------------------- | ||
6 | foo() | ||
| ^^^^^ | ||
| The tail recursive def foo contains a recursive call inside the non-inlined inner def bar | ||
| | ||
| longer explanation available when compiling with `-explain` | ||
-- [E097] Syntax Error: tests\neg\i20105.scala:3:4 --------------------------------------------------------------------- | ||
3 |def foo(): Unit = // error | ||
| ^ | ||
| TailRec optimisation not applicable, method foo contains no recursive calls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- [E195] Syntax Warning: tests\warn\i20105.scala:6:9 ------------------------------------------------------------------ | ||
6 | foo() // warn | ||
| ^^^^^ | ||
| The tail recursive def foo contains a recursive call inside the non-inlined inner def bar | ||
| | ||
| longer explanation available when compiling with `-explain` |