FIR: partially implement invoke resolution
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
FILE fqName:<root> fileName:/catchParameterAccess.kt
|
||||
FUN name:test visibility:public modality:FINAL <> (f:kotlin.Function0<kotlin.Unit>) returnType:kotlin.Nothing?
|
||||
FUN name:test visibility:public modality:FINAL <> (f:kotlin.Function0<kotlin.Unit>) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:f index:0 type:kotlin.Function0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun test (f: kotlin.Function0<kotlin.Unit>): kotlin.Nothing? declared in <root>'
|
||||
TRY type=kotlin.Nothing?
|
||||
try: ERROR_CALL 'Unresolved reference: <Unresolved name: f>#' type=IrErrorType
|
||||
RETURN type=kotlin.Nothing from='public final fun test (f: kotlin.Function0<kotlin.Unit>): kotlin.Unit declared in <root>'
|
||||
TRY type=kotlin.Unit
|
||||
try: CALL 'public abstract fun invoke (): kotlin.Unit declared in kotlin.Function0' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: kotlin.Function0<kotlin.Unit> declared in <root>.test' type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
CATCH parameter=val e: java.lang.Exception [val] declared in <root>.test
|
||||
VAR name:e type:java.lang.Exception [val]
|
||||
THROW type=kotlin.Nothing
|
||||
|
||||
Reference in New Issue
Block a user