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.
39 lines
1.2 KiB
Plaintext
Vendored
39 lines
1.2 KiB
Plaintext
Vendored
public final enum class E : R|kotlin/Enum<test/E>| {
|
|
public final static fun valueOf(value: R|kotlin/String|): R|test/E| {
|
|
}
|
|
|
|
public final static fun values(): R|kotlin/Array<test/E>| {
|
|
}
|
|
|
|
public final static val entries: R|kotlin/enums/EnumEntries<test/E>|
|
|
public get(): R|kotlin/enums/EnumEntries<test/E>|
|
|
|
|
private constructor(): R|test/E|
|
|
|
|
public final static enum entry CAKE: R|test/E|
|
|
}
|
|
|
|
public final annotation class EnumAnno : R|kotlin/Annotation| {
|
|
public final val value: R|test/E|
|
|
public get(): R|test/E|
|
|
|
|
public constructor(value: R|test/E|): R|test/EnumAnno|
|
|
|
|
}
|
|
|
|
public final class EnumArgumentWithCustomToString : R|kotlin/Any| {
|
|
@R|test/EnumAnno|(value = R|test/E.CAKE|()) @R|test/EnumArrayAnno|(value = <implicitArrayOf>(R|test/E.CAKE|(), R|test/E.CAKE|())) public final fun annotated(): R|kotlin/Unit|
|
|
|
|
public constructor(): R|test/EnumArgumentWithCustomToString|
|
|
|
|
}
|
|
|
|
public final annotation class EnumArrayAnno : R|kotlin/Annotation| {
|
|
public final val value: R|kotlin/Array<out test/E>|
|
|
public get(): R|kotlin/Array<out test/E>|
|
|
|
|
public constructor(vararg value: R|kotlin/Array<out test/E>|): R|test/EnumArrayAnno|
|
|
|
|
}
|
|
|