Make MISSING_VAL_ON_ANNOTATION_PARAMETER error instead of warning
Annotation with a parameter that is not stored doesn't make any sense
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
annotation class Anno(vararg t: String)
|
||||
annotation class Anno(vararg val t: String)
|
||||
|
||||
Anno("live", "long") fun foo() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user