Fixed tests on IR copier
This commit is contained in:
@@ -4,7 +4,7 @@ FILE fqName:<root> fileName:/extFunInvokeAsFun.kt
|
||||
VALUE_PARAMETER name:block index:1 type:kotlin.Any?.() -> kotlin.Unit flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='with1(Any?, Any?.() -> Unit): Unit'
|
||||
CALL 'invoke(Any?): Unit' type=kotlin.Unit origin=INVOKE
|
||||
CALL 'invoke(P1): R' type=kotlin.Unit origin=INVOKE
|
||||
$this: GET_VAR 'value-parameter block: Any?.() -> Unit' type=kotlin.Any?.() -> kotlin.Unit origin=VARIABLE_AS_FUNCTION
|
||||
p1: GET_VAR 'value-parameter receiver: Any?' type=kotlin.Any? origin=null
|
||||
FUN name:with2 visibility:public modality:FINAL <> (receiver:kotlin.Any?, block:kotlin.Any?.() -> kotlin.Unit) returnType:kotlin.Unit flags:
|
||||
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/extFunInvokeAsFun.kt
|
||||
VALUE_PARAMETER name:block index:1 type:kotlin.Any?.() -> kotlin.Unit flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='with2(Any?, Any?.() -> Unit): Unit'
|
||||
CALL 'invoke(Any?): Unit' type=kotlin.Unit origin=INVOKE
|
||||
CALL 'invoke(P1): R' type=kotlin.Unit origin=INVOKE
|
||||
$this: GET_VAR 'value-parameter block: Any?.() -> Unit' type=kotlin.Any?.() -> kotlin.Unit origin=VARIABLE_AS_FUNCTION
|
||||
p1: GET_VAR 'value-parameter receiver: Any?' type=kotlin.Any? origin=null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user