Run LoadJava.CompiledKotlin test group with stdlib if some enum is inside

This commit makes compiler tests working similarly to ResolveByStub IDE tests.
This commit is contained in:
Mikhail Glukhikh
2022-08-17 20:08:24 +02:00
committed by Space
parent fb1c80a7c9
commit d3648bce0c
35 changed files with 476 additions and 500 deletions
@@ -0,0 +1,17 @@
// ALLOW_AST_ACCESS
// NO_CHECK_SOURCE_VS_BINARY
//^ While compiling source, we do not store annotation default values, but we load them when reading compiled files
package test
annotation class Anno(val value: String = "0", val x: Int = 0)
annotation class Bnno
enum class Eee {
@Anno()
Entry1,
Entry2,
@Anno("3") @Bnno
Entry3,
@Anno("4", 4)
Entry4,
}