K1/K2: add Enum.entries unconditionally and filter them out in tower
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.
This commit is contained in:
@@ -20,4 +20,7 @@ FILE: enum.kt
|
||||
public final static [BODY_RESOLVE] fun valueOf([BODY_RESOLVE] value: R|kotlin/String|): R|Enum| {
|
||||
}
|
||||
|
||||
public final static [BODY_RESOLVE] val entries: R|kotlin/enums/EnumEntries<Enum>|
|
||||
public [BODY_RESOLVE] get(): R|kotlin/enums/EnumEntries<Enum>|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user