Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/arguments/lambdaInUnresolvedCall.kt
T
2020-03-19 09:51:01 +03:00

14 lines
213 B
Kotlin
Vendored

fun <R> materialize(): R = null!!
fun test_1() {
<!UNRESOLVED_REFERENCE!>myRun<!> {
val x = 1
x * 2
}
}
fun test_2() {
<!UNRESOLVED_REFERENCE!>myRun<!> {
materialize()
}
}