Update IR text test
Additional implicit coercions to unit was added
This commit is contained in:
+17
-15
@@ -39,21 +39,23 @@ FILE fqName:<root> fileName:/localDelegatedPropertyWithSuspendOperators.kt
|
||||
VALUE_PARAMETER name:value index:2 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='setValue(Any?, KProperty<*>, Int): Unit'
|
||||
CALL 'suspendCoroutineOrReturn(crossinline (Continuation<Unit>) -> Any?): Unit' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Unit
|
||||
block: BLOCK type=(kotlin.coroutines.experimental.Continuation<kotlin.Unit>) -> kotlin.Any origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (x:kotlin.coroutines.experimental.Continuation<kotlin.Unit>) returnType:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.coroutines.experimental.Continuation<kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
CALL 'resume(Unit): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'value-parameter x: Continuation<Unit>' type=kotlin.coroutines.experimental.Continuation<kotlin.Unit> origin=null
|
||||
value: GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(Continuation<Unit>): Any'
|
||||
CALL '<get-COROUTINE_SUSPENDED>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
FUNCTION_REFERENCE '<anonymous>(Continuation<Unit>): Any' type=(kotlin.coroutines.experimental.Continuation<kotlin.Unit>) -> kotlin.Any origin=LAMBDA
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
CALL 'suspendCoroutineOrReturn(crossinline (Continuation<Unit>) -> Any?): Unit' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Unit
|
||||
block: BLOCK type=(kotlin.coroutines.experimental.Continuation<kotlin.Unit>) -> kotlin.Any origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (x:kotlin.coroutines.experimental.Continuation<kotlin.Unit>) returnType:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.coroutines.experimental.Continuation<kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
CALL 'resume(Unit): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'value-parameter x: Continuation<Unit>' type=kotlin.coroutines.experimental.Continuation<kotlin.Unit> origin=null
|
||||
value: GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(Continuation<Unit>): Any'
|
||||
CALL '<get-COROUTINE_SUSPENDED>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
FUNCTION_REFERENCE '<anonymous>(Continuation<Unit>): Any' type=(kotlin.coroutines.experimental.Continuation<kotlin.Unit>) -> kotlin.Any origin=LAMBDA
|
||||
FUN name:provideDelegate visibility:public modality:FINAL <> ($this:A, host:kotlin.Any?, p:kotlin.Any) returnType:A flags:suspend
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
VALUE_PARAMETER name:host index:0 type:kotlin.Any? flags:
|
||||
|
||||
Reference in New Issue
Block a user