IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
@@ -14,6 +14,7 @@ FILE fqName:<root> fileName:/primaryConstructor.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:Test1) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test1 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
@@ -24,6 +25,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:Test1) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:y type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test1 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
@@ -57,6 +59,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:y type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test2 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
@@ -67,6 +70,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Test2) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test2 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
@@ -100,6 +104,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:Test3) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:y type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test3 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
@@ -108,6 +113,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
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:Test3) returnType:Int flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:Test3 flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
|
||||
Reference in New Issue
Block a user