K1: don't filter Enum.entries in tower to report error later

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
This commit is contained in:
Mikhail Glukhikh
2023-01-19 11:49:11 +01:00
committed by Space Team
parent 793df6234e
commit 565adf3075
11 changed files with 77 additions and 16 deletions
@@ -1,3 +1,4 @@
$TESTDATA_DIR$/enumEntriesForJavaNotEnabled.kt
-XXLanguage\:-EnumEntries
-d
$TEMP_DIR$