Drop IrPropertyAccessor (and subclasses).
Drop IrLocalPropertyAccessor (and subclasses). Introduce IrField.
This commit is contained in:
committed by
Dmitry Petrov
parent
121e949a33
commit
5c720845a8
+14
-2
@@ -6,14 +6,26 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
CLASS CLASS TestProperty
|
||||
PROPERTY public final val x: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FIELD public final val x: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'TestProperty' type=TestProperty
|
||||
CONSTRUCTOR public constructor TestProperty()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestProperty'
|
||||
CLASS CLASS TestInitBlock
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD public final val x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'TestInitBlock' type=TestInitBlock
|
||||
ANONYMOUS_INITIALIZER TestInitBlock
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
|
||||
Reference in New Issue
Block a user