Files
kotlin-fork/compiler/testData/diagnostics/tests/nullabilityAndSmartCasts/funcLiteralArgsInsideUnresolvedFunction.kt
T

11 lines
181 B
Kotlin
Vendored

package a
fun foo() {
val i : Int? = 42
if (i != null) {
<!UNRESOLVED_REFERENCE!>doSmth<!> {
val x = <!DEBUG_INFO_SMARTCAST!>i<!> + 1
}
}
}