Files
kotlin-fork/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.txt
T
Dmitry Petrov a511540aad Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
2017-05-04 09:33:03 +03:00

31 lines
1.6 KiB
Plaintext
Vendored

FILE /Derived.kt
CLASS CLASS Derived
$new: VALUE_PARAMETER this@Derived: Derived
CONSTRUCTOR public constructor Derived()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
ANONYMOUS_INITIALIZER Derived
BLOCK_BODY
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
value: CONST Int type=kotlin.Int value='0'
FUN public final fun getValue(): kotlin.Int
$this: VALUE_PARAMETER this@Derived: Derived
BLOCK_BODY
RETURN type=kotlin.Nothing from='getValue(): Int'
GET_FIELD 'value: Int' type=kotlin.Int origin=GET_PROPERTY
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
FUN public final fun setValue(value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER this@Derived: Derived
VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
PROPERTY FAKE_OVERRIDE public final override var value: kotlin.Int
FIELD FAKE_OVERRIDE public final override var value: kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String