We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c553fd2 commit 0492367Copy full SHA for 0492367
tests/neg-custom-args/fatal-warnings/i13011.scala
@@ -8,7 +8,7 @@ class i13011 {
8
9
def firstDigitIsEven(n: Int): Boolean = if n % 10 == n then n % 2 == 0 else firstDigitIsEven(n / 10)
10
11
- lazy val simple4: String = if firstDigitIsEven(22) then this.simple4 else "a" // error
+ lazy val simple4: String = if firstDigitIsEven(22) then this.simple4 else "a" // ok
12
13
lazy val simple5: String = identity(this.simple5) // error
14
0 commit comments