Files
kotlin-fork/compiler/testData/diagnostics/tests/smartCasts/doubleLambdaArgument.fir.kt
T

11 lines
150 B
Kotlin
Vendored

interface Foo
fun foo(): Foo? = null
val foo: Foo = run {
run {
val x = foo()
if (x == null) throw Exception()
x
}
}