Introduce IrGetValue as a replacement for IrThisReference / IrGetExtensionReceiver / IrGetVariable.
This commit is contained in:
@@ -12,11 +12,11 @@ FILE /safeAssignment.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
receiver: GET_VAR '<receiver: C>' type=C origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
receiver: GET_VAR '<receiver: C>' type=C origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
FUN public fun test(nc: C?): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user