7333589663
Before this commit, we added Enum.entries only in case when LanguageFeature.EnumEntries was ON (with an exception in K1/Java case). In this commit we add Enum.entries unconditionally, and in case the language feature is OFF we filter them out during tower resolve.
32 lines
904 B
Plaintext
Vendored
32 lines
904 B
Plaintext
Vendored
FILE: EnumWithToString.kt
|
|
public final enum class Some : R|kotlin/Enum<Some>| {
|
|
private constructor(): R|Some| {
|
|
super<R|kotlin/Enum<Some>|>()
|
|
}
|
|
|
|
public final static enum entry ENTRY: R|Some| = object : R|Some| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|Some|>()
|
|
}
|
|
|
|
public final override fun toString(): R|kotlin/String| {
|
|
^toString String(Entry)
|
|
}
|
|
|
|
}
|
|
|
|
public open override fun toString(): R|kotlin/String| {
|
|
^toString String(Some)
|
|
}
|
|
|
|
public final static fun values(): R|kotlin/Array<Some>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|Some| {
|
|
}
|
|
|
|
public final static val entries: R|kotlin/enums/EnumEntries<Some>|
|
|
public get(): R|kotlin/enums/EnumEntries<Some>|
|
|
|
|
}
|