Files
Ivan Kochurkin 69b9bfc3e0 [FIR] Initialize public visibility for class-like declarations at FIR building phase if no modifier is presented
Java resolving subsystem requires calculated visibility for correct disambiguation of supertypes.
But visibility remains `Unknown` for Kotlin class-like declarations during supertypes resolving because `STATUS` resolve phase is performed after `SUPER_TYPES` phase.
To fix the problem, the visibility should be initialized to public at the FIR building phase if no modifier is presented.

^KT-64127 Fixed
2024-01-04 16:17:32 +00:00

18 lines
724 B
Plaintext
Vendored

FILE: enumEntryWithAnnotations.kt
@EnumAnnotation(LAZY_EXPRESSION) public final? enum class MyEnumClass : R|kotlin/Enum<MyEnumClass>| {
private constructor(): R|MyEnumClass| {
LAZY_super<R|kotlin/Enum<MyEnumClass>|>
}
@Anno(LAZY_EXPRESSION) @PROPERTY:Anno(LAZY_EXPRESSION) public final static enum entry ENUM_ENTRY: R|MyEnumClass| = LAZY_EXPRESSION
public final static fun values(): R|kotlin/Array<MyEnumClass>| {
}
public final static fun valueOf(value: R|kotlin/String|): R|MyEnumClass| {
}
public final static val entries: R|kotlin/enums/EnumEntries<MyEnumClass>|
public get(): R|kotlin/enums/EnumEntries<MyEnumClass>|
}