[FIR] Support several annotation argument diagnostics
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0c13d3197c
commit
cfc1ebb4be
+1
-1
@@ -22,7 +22,7 @@ annotation class Ann(
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>a<!>,
|
||||
b()
|
||||
)
|
||||
class A {
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ class A
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>a<!>,
|
||||
b()
|
||||
)
|
||||
constructor() {
|
||||
@@ -36,7 +36,7 @@ constructor() {
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>a<!>,
|
||||
b()
|
||||
)
|
||||
constructor(dummy: Int) : this()
|
||||
|
||||
Reference in New Issue
Block a user