[FIR] Support several annotation argument diagnostics
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0c13d3197c
commit
cfc1ebb4be
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
enum class TestEnum {
|
||||
Foo
|
||||
}
|
||||
|
||||
annotation class Ann(vararg val a: TestEnum)
|
||||
|
||||
val foo = TestEnum.Foo
|
||||
var bar = TestEnum.Foo
|
||||
|
||||
@Ann(<!ANNOTATION_ARGUMENT_MUST_BE_ENUM_CONST!>foo<!>, <!ANNOTATION_ARGUMENT_MUST_BE_ENUM_CONST!>bar<!>)
|
||||
fun test() {}
|
||||
Reference in New Issue
Block a user