| // 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 */ |