Properties declared in primary constructors should have proper accessors in IR.
This commit is contained in:
committed by
Dmitry Petrov
parent
5c720845a8
commit
201d2414bc
@@ -20,6 +20,11 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
FIELD public final val x: kotlin.IntArray
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: IntArray' type=kotlin.IntArray operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.IntArray
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): IntArray'
|
||||
GET_BACKING_FIELD 'x: IntArray' type=kotlin.IntArray operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
FUN public fun testVariable(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
VAR var x: kotlin.IntArray
|
||||
|
||||
Reference in New Issue
Block a user