IR: IrSimpleFunction.correspondingProperty: IrProperty?

Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
Dmitry Petrov
2018-05-24 16:47:25 +03:00
parent 216dbf9637
commit ab455d6572
146 changed files with 604 additions and 20 deletions
+2
View File
@@ -15,6 +15,7 @@ FILE fqName:<root> fileName:/superCalls.kt
EXPRESSION_BODY
CONST String type=kotlin.String value=
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:OPEN <> ($this:Base) returnType:String flags:
correspondingProperty: PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
$this: VALUE_PARAMETER name:<this> type:Base flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): String'
@@ -50,6 +51,7 @@ FILE fqName:<root> fileName:/superCalls.kt
$this: GET_VAR 'this@Derived: Derived' type=Derived origin=null
PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:Derived) returnType:String flags:
correspondingProperty: PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
overridden:
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:OPEN <> ($this:Base) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:Derived flags: