blob: 0ea05bd9a2603055a16af1d5fe1cc38c9f87729e [file]
// RUN_PIPELINE_TILL: FRONTEND
fun <R> materialize(): R = null!!
fun test_1() {
<!UNRESOLVED_REFERENCE!>myRun<!> {
val x = 1
x * 2
}
}
fun test_2() {
<!UNRESOLVED_REFERENCE!>myRun<!> {
<!CANNOT_INFER_PARAMETER_TYPE!>materialize<!>()
}
}
/* GENERATED_FIR_TAGS: checkNotNullCall, functionDeclaration, integerLiteral, lambdaLiteral, localProperty,
multiplicativeExpression, nullableType, propertyDeclaration, typeParameter */