IR: bugfix in KotlinNothingValueExceptionLowering
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun nestedNothing(s: String) =
|
||||
"" + if (s == "OK") s else barf()
|
||||
|
||||
fun barf(): Nothing = throw NullPointerException()
|
||||
|
||||
fun box() = nestedNothing("OK")
|
||||
Reference in New Issue
Block a user