Files
kotlin-fork/compiler/testData/ir/irText/singletons/object.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

28 lines
1.2 KiB
Plaintext
Vendored

FILE /object.kt
CLASS OBJECT Z
$new: VALUE_PARAMETER this@Z: Z
CONSTRUCTOR private constructor Z()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
FUN public final fun test(): kotlin.Unit
$this: VALUE_PARAMETER this@Z: Z
BLOCK_BODY
CLASS CLASS A
$new: VALUE_PARAMETER this@A: A
CONSTRUCTOR public constructor A()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN public final fun test2(): kotlin.Unit
$this: VALUE_PARAMETER this@A: A
BLOCK_BODY
CALL 'test(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z
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
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