8dab560d6e
Before, BODY_RESOLVE phase were used for them but status may be unresolved. This caused CCE on accessing resolved status for such static enum members. Now, those declarations are created with the status of owning enum as the status is taken from that class.
27 lines
954 B
Plaintext
27 lines
954 B
Plaintext
FILE: enum.kt
|
|
public final [BODY_RESOLVE] enum class Enum : R|kotlin/Enum<Enum>| {
|
|
private [BODY_RESOLVE] constructor([BODY_RESOLVE] x: R|kotlin/Int|): R|Enum| {
|
|
super<R|kotlin/Enum<Enum>|>()
|
|
}
|
|
|
|
public final [BODY_RESOLVE] val x: R|kotlin/Int| = R|<local>/x|
|
|
public [BODY_RESOLVE] get(): R|kotlin/Int|
|
|
|
|
public final static [BODY_RESOLVE] enum entry A: R|Enum| = object : R|Enum| {
|
|
private [BODY_RESOLVE] constructor(): R|<anonymous>| {
|
|
super<R|Enum|>(Int(1))
|
|
}
|
|
|
|
}
|
|
|
|
public final static [BODY_RESOLVE] fun values(): R|kotlin/Array<Enum>| {
|
|
}
|
|
|
|
public final static [BODY_RESOLVE] fun valueOf([BODY_RESOLVE] value: R|kotlin/String|): R|Enum| {
|
|
}
|
|
|
|
public final static [BODY_RESOLVE] val entries: R|kotlin/enums/EnumEntries<Enum>|
|
|
public [BODY_RESOLVE] get(): R|kotlin/enums/EnumEntries<Enum>|
|
|
|
|
}
|