Files
kotlin-fork/compiler/testData/ir/irText/expressions/values.txt
T
2016-10-18 09:08:44 +03:00

36 lines
1.0 KiB
Plaintext
Vendored

FILE /values.kt
CLASS ENUM_CLASS Enum
FUN private constructor Enum()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL Enum super
ENUM_ENTRY enum entry A
init: ENUM_CONSTRUCTOR_CALL Enum A
CLASS OBJECT A
FUN private constructor A()
BLOCK_BODY
PROPERTY public val a: kotlin.Int = 0
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
CLASS CLASS Z
FUN public constructor Z()
BLOCK_BODY
CLASS OBJECT Companion
FUN private constructor Companion()
BLOCK_BODY
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