Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/arguments/lambdaInUnresolvedCall.kt
T
2020-12-16 19:52:30 +03:00

15 lines
286 B
Kotlin
Vendored

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