Files
kotlin-fork/compiler/testData/ir/irText/expressions/values.txt
T

44 lines
1.5 KiB
Plaintext
Vendored

FILE /values.kt
CLASS ENUM_CLASS Enum
CONSTRUCTOR private constructor Enum()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL Enum super
INSTANCE_INITIALIZER_CALL classDescriptor=Enum
ENUM_ENTRY enum entry A
init: ENUM_CONSTRUCTOR_CALL Enum A
FUN public final /*synthesized*/ fun values(): kotlin.Array<Enum>
SYNTHETIC_BODY kind=ENUM_VALUES
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): Enum
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS OBJECT A
CONSTRUCTOR private constructor A()
BLOCK_BODY
INSTANCE_INITIALIZER_CALL classDescriptor=A
PROPERTY public val a: kotlin.Int = 0
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
CLASS CLASS Z
CONSTRUCTOR public constructor Z()
BLOCK_BODY
INSTANCE_INITIALIZER_CALL classDescriptor=Z
CLASS OBJECT Companion
CONSTRUCTOR private constructor Companion()
BLOCK_BODY
INSTANCE_INITIALIZER_CALL classDescriptor=Companion
FUN public fun test1(): Enum
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1
GET_ENUM_VALUE A type=Enum
FUN public fun test2(): A
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2
GET_OBJECT A type=A
FUN public fun test3(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3
CALL .<get-a> type=kotlin.Int operator=GET_PROPERTY
FUN public fun test4(): Z.Companion
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4
GET_OBJECT Companion type=Z.Companion