IR: IrSimpleFunction.correspondingProperty: IrProperty?
Non-null for a property accessor, points to a corresponding property.
This commit is contained in:
@@ -4,6 +4,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Long type=kotlin.Long value=42
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Long flags:
|
||||
correspondingProperty: PROPERTY name:test1 type:kotlin.Long visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Long'
|
||||
GET_FIELD 'test1: Long' type=kotlin.Long origin=null
|
||||
@@ -12,6 +13,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Short type=kotlin.Short value=42
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:Short flags:
|
||||
correspondingProperty: PROPERTY name:test2 type:kotlin.Short visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Short'
|
||||
GET_FIELD 'test2: Short' type=kotlin.Short origin=null
|
||||
@@ -20,6 +22,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Byte type=kotlin.Byte value=42
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:Byte flags:
|
||||
correspondingProperty: PROPERTY name:test3 type:kotlin.Byte visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): Byte'
|
||||
GET_FIELD 'test3: Byte' type=kotlin.Byte origin=null
|
||||
@@ -31,6 +34,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
CALL 'unaryMinus(): Int' type=kotlin.Int origin=null
|
||||
$this: CONST Int type=kotlin.Int value=42
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:Long flags:
|
||||
correspondingProperty: PROPERTY name:test4 type:kotlin.Long visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): Long'
|
||||
GET_FIELD 'test4: Long' type=kotlin.Long origin=null
|
||||
@@ -42,6 +46,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
CALL 'unaryMinus(): Int' type=kotlin.Int origin=null
|
||||
$this: CONST Int type=kotlin.Int value=42
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test5> visibility:public modality:FINAL <> () returnType:Short flags:
|
||||
correspondingProperty: PROPERTY name:test5 type:kotlin.Short visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test5>(): Short'
|
||||
GET_FIELD 'test5: Short' type=kotlin.Short origin=null
|
||||
@@ -53,6 +58,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
CALL 'unaryMinus(): Int' type=kotlin.Int origin=null
|
||||
$this: CONST Int type=kotlin.Int value=42
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test6> visibility:public modality:FINAL <> () returnType:Byte flags:
|
||||
correspondingProperty: PROPERTY name:test6 type:kotlin.Byte visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test6>(): Byte'
|
||||
GET_FIELD 'test6: Byte' type=kotlin.Byte origin=null
|
||||
@@ -108,6 +114,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Long = ...' type=kotlin.Long origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:TestImplicitArguments) returnType:Long flags:
|
||||
correspondingProperty: PROPERTY name:x type:kotlin.Long visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:TestImplicitArguments flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Long'
|
||||
|
||||
Reference in New Issue
Block a user