565adf3075
After this commit we: - preserve Enum.entries synthetic property in tower even in case the bound feature is OFF - report an error on Enum.entries call in specific checker if the feature is OFF - give this synthetic property lower priority, no matter feature ON or OFF #KT-55251 Fixed
14 lines
523 B
Plaintext
Vendored
14 lines
523 B
Plaintext
Vendored
warning: ATTENTION!
|
|
This build uses unsafe internal compiler arguments:
|
|
|
|
-XXLanguage:-EnumEntries
|
|
|
|
This mode is not recommended for production use,
|
|
as no stability/compatibility guarantees are given on
|
|
compiler or generated code. Use it at your own risk!
|
|
|
|
compiler/testData/cli/jvm/enumEntriesForJavaNotEnabled.kt:4:49: error: the feature "enum entries" is only available since language version 1.9
|
|
val entries = java.util.concurrent.TimeUnit.entries
|
|
^
|
|
COMPILATION_ERROR
|