Annotation parameter must be constant on vararg and array arguments
This commit is contained in:
+4
-2
@@ -1,4 +1,6 @@
|
||||
// "class com.intellij.codeInspection.SuppressIntentionAction" "false"
|
||||
|
||||
[suppress("FOO"<caret>!!)]
|
||||
fun foo() {}
|
||||
[Ann(Integer.MAX_VALUE<caret> + 1)]
|
||||
fun foo() {}
|
||||
|
||||
annotation class Ann(val b: Int)
|
||||
Reference in New Issue
Block a user