IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
@@ -13,12 +13,14 @@ FILE fqName:<root> fileName:/safeAssignment.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:C) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:C flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@C: C' type=C origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x> visibility:public modality:FINAL <> ($this:C, <set-?>:kotlin.Int) returnType:Unit flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:var
|
||||
$this: VALUE_PARAMETER name:<this> type:C flags:
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user