K2: reproduce KT-57954 and reorganize tests around enum entries warnings

In particular, here we add FIR_DUMP to all enum entries tests with
some deprecation diagnostics and the feature on, and remove all txt-files
This commit is contained in:
Mikhail Glukhikh
2023-05-25 11:54:48 +02:00
committed by Space Team
parent 63e65a482c
commit 70899d492d
48 changed files with 626 additions and 554 deletions
@@ -0,0 +1,6 @@
FILE: test.kt
public final fun test(): R|kotlin/Unit| {
Q|JEnumEntry|.R|/JEnumEntry.entries|
Q|JEnumStaticField|.R|/JEnumStaticField.entries|
Q|JEnumField|::R|/JEnumField.entries|
}