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

59 lines
3.4 KiB
Plaintext
Vendored

FILE /enumEntry.kt
CLASS ENUM_CLASS Z
$new: VALUE_PARAMETER this@Z: Z
CONSTRUCTOR private constructor Z()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
ENUM_ENTRY enum entry ENTRY
init: ENUM_CONSTRUCTOR_CALL 'constructor ENTRY()'
class: CLASS ENUM_ENTRY ENTRY
$new: VALUE_PARAMETER this@ENTRY: ENTRY
CONSTRUCTOR private constructor ENTRY()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Z()'
INSTANCE_INITIALIZER_CALL classDescriptor='ENTRY'
FUN public final fun test(): kotlin.Unit
$this: VALUE_PARAMETER this@ENTRY: ENTRY
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_ENUM 'ENTRY' type=Z.ENTRY
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 protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Z!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Z): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Z!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Z): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Z>
SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Z
SYNTHETIC_BODY kind=ENUM_VALUEOF