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
1.4 KiB
Plaintext
Vendored
32 lines
1.4 KiB
Plaintext
Vendored
package test
|
|
|
|
public final annotation class AAA : kotlin.Annotation {
|
|
public constructor AAA()
|
|
}
|
|
|
|
public final enum class MyEnum : kotlin.Enum<test.MyEnum> {
|
|
enum entry ENTRY
|
|
|
|
private constructor MyEnum(/*0*/ @test.AAA kotlin.Int)
|
|
@kotlin.internal.IntrinsicConstEvaluation public final /*fake_override*/ val name: kotlin.String
|
|
@kotlin.Deprecated(message = "") public final val ord: kotlin.Int
|
|
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
|
|
public final fun f(/*0*/ @java.lang.Deprecated kotlin.Int): kotlin.Unit
|
|
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 kt4050 {
|
|
public constructor kt4050()
|
|
|
|
// Static members
|
|
public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
|
|
}
|