IrSyntheticBody (for 'values', 'valueOf').
This commit is contained in:
committed by
Dmitry Petrov
parent
c47e82f965
commit
2d2100b1b5
+16
@@ -7,6 +7,10 @@ FILE /enum.kt
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum1 TEST1
|
||||
ENUM_ENTRY enum entry TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum1 TEST2
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum1>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum1
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum2
|
||||
FUN private constructor TestEnum2(/*0*/ x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
@@ -25,6 +29,10 @@ FILE /enum.kt
|
||||
ENUM_ENTRY enum entry TEST3
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum2 TEST3
|
||||
x: CONST Int type=kotlin.Int value='3'
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum2>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum2
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum3
|
||||
FUN private constructor TestEnum3()
|
||||
BLOCK_BODY
|
||||
@@ -40,6 +48,10 @@ FILE /enum.kt
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='Hello, world!'
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum3>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum3
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum4
|
||||
FUN private constructor TestEnum4(/*0*/ x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
@@ -77,3 +89,7 @@ FILE /enum.kt
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
message: GET_ENUM_VALUE TEST2 type=TestEnum4
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum4>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum4
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
|
||||
Reference in New Issue
Block a user