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.
24 lines
1.1 KiB
Plaintext
Vendored
24 lines
1.1 KiB
Plaintext
Vendored
package test
|
|
|
|
public final enum class MyEnum : kotlin.Enum<test.MyEnum> {
|
|
enum entry OK
|
|
|
|
private constructor MyEnum()
|
|
@kotlin.internal.IntrinsicConstEvaluation public final /*fake_override*/ val name: kotlin.String
|
|
public final /*fake_override*/ val ordinal: kotlin.Int
|
|
protected final /*fake_override*/ fun clone(): kotlin.Any
|
|
public final /*fake_override*/ fun compareTo(/*0*/ test.MyEnum): kotlin.Int
|
|
protected/*protected and package*/ final /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun finalize(): kotlin.Unit
|
|
public final /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class<test.MyEnum!>!
|
|
|
|
// Static members
|
|
public final /*synthesized*/ val entries: kotlin.enums.EnumEntries<test.MyEnum>
|
|
public final /*synthesized*/ fun valueOf(/*0*/ kotlin.String): test.MyEnum
|
|
public final /*synthesized*/ fun values(): kotlin.Array<test.MyEnum>
|
|
}
|
|
|
|
public open class kt3561 {
|
|
public constructor kt3561()
|
|
public open fun getEntryName(): test.MyEnum!
|
|
}
|