[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:
+10
@@ -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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user