[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
This commit is contained in:
Ivan Kylchik
2024-03-08 17:58:30 +01:00
committed by Space Team
parent 1884a655c5
commit 0ebf2862a9
24 changed files with 2331 additions and 0 deletions
@@ -0,0 +1,10 @@
@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,
}
}