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.
31 lines
1.0 KiB
Plaintext
Vendored
31 lines
1.0 KiB
Plaintext
Vendored
public final enum class Enum : R|kotlin/Enum<test/Enum!>| {
|
|
public final static enum entry A: R|@EnhancedNullability test/Enum|
|
|
public final static enum entry B: R|@EnhancedNullability test/Enum|
|
|
public final static enum entry C: R|@EnhancedNullability test/Enum|
|
|
public final static fun values(): R|kotlin/Array<test/Enum>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|test/Enum| {
|
|
}
|
|
|
|
public final static val entries: R|kotlin/enums/EnumEntries<test/Enum>|
|
|
public get(): R|kotlin/enums/EnumEntries<test/Enum>|
|
|
|
|
public open inner class Inner : R|kotlin/Any| {
|
|
public/*package*/ open fun bar(): R|kotlin/Unit|
|
|
|
|
public/*package*/ open fun valueOf(s: R|kotlin/String!|): R|kotlin/Unit|
|
|
|
|
public test/Enum.constructor(): R|test/Enum.Inner|
|
|
|
|
}
|
|
public open class Nested : R|kotlin/Any| {
|
|
public/*package*/ open fun foo(): R|kotlin/Unit|
|
|
|
|
public/*package*/ open fun values(): R|kotlin/Unit|
|
|
|
|
public constructor(): R|test/Enum.Nested|
|
|
|
|
}
|
|
}
|