Introduce IrGetValue as a replacement for IrThisReference / IrGetExtensionReceiver / IrGetVariable.
This commit is contained in:
+3
-3
@@ -14,7 +14,7 @@ FILE /superCalls.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
GET_FIELD 'bar: String' type=kotlin.String origin=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
receiver: GET_VAR '<receiver: Base>' type=Base origin=null
|
||||
CLASS CLASS Derived
|
||||
CONSTRUCTOR public constructor Derived()
|
||||
BLOCK_BODY
|
||||
@@ -23,10 +23,10 @@ FILE /superCalls.kt
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit origin=null
|
||||
$this: THIS of 'Derived' type=Base
|
||||
$this: GET_VAR '<receiver: Derived>' type=Derived origin=null
|
||||
PROPERTY public open override val bar: kotlin.String
|
||||
FUN public open override fun <get-bar>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY
|
||||
$this: THIS of 'Derived' type=Base
|
||||
$this: GET_VAR '<receiver: Derived>' type=Derived origin=null
|
||||
|
||||
Reference in New Issue
Block a user