Files
Ivan Kylchik 0ebf2862a9 [K2] Add new tests on lazy resolve to check new resolve rules
In the consequent commits, there are some changes in FIR resolve.
These tests will show the difference.

#KT-64151
2024-03-13 16:53:59 +00:00

11 lines
306 B
Kotlin
Vendored

@WithEnumFromBody("", WithEnumFromBody.MyLevel.ERROR)
public annotation class WithEnumFromBody cons<caret>tructor(
val a: String = "",
@WithEnumFromBody("", WithEnumFromBody.MyLevel.WARNING) val b: MyLevel = MyLevel.ERROR
) {
public enum class MyLevel {
WARNING,
ERROR,
}
}