IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
+2
@@ -29,6 +29,7 @@ FILE fqName:<root> fileName:/secondaryConstructorWithInitializersFromClassBody.k
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value=0
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:TestProperty) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:TestProperty flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
@@ -58,6 +59,7 @@ FILE fqName:<root> fileName:/secondaryConstructorWithInitializersFromClassBody.k
|
||||
PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:TestInitBlock) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:TestInitBlock flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
|
||||
Reference in New Issue
Block a user