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.
23 lines
1.0 KiB
Plaintext
Vendored
23 lines
1.0 KiB
Plaintext
Vendored
public abstract interface CustomAnnotation : R|kotlin/Any| {
|
|
public final annotation class MyAnnotation : R|kotlin/Annotation| {
|
|
public constructor(value: R|test/CustomAnnotation.MyEnum|): R|test/CustomAnnotation.MyAnnotation|
|
|
|
|
}
|
|
public final enum class MyEnum : R|kotlin/Enum<test/CustomAnnotation.MyEnum!>| {
|
|
public final static enum entry ONE: R|@EnhancedNullability test/CustomAnnotation.MyEnum|
|
|
public final static fun values(): R|kotlin/Array<test/CustomAnnotation.MyEnum>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|test/CustomAnnotation.MyEnum| {
|
|
}
|
|
|
|
public final static val entries: R|kotlin/enums/EnumEntries<test/CustomAnnotation.MyEnum>|
|
|
public get(): R|kotlin/enums/EnumEntries<test/CustomAnnotation.MyEnum>|
|
|
|
|
}
|
|
@R|test/CustomAnnotation.MyAnnotation|(value = R|test/CustomAnnotation.MyEnum.ONE|()) public open class MyTest : R|kotlin/Any| {
|
|
public constructor(): R|test/CustomAnnotation.MyTest|
|
|
|
|
}
|
|
}
|