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
@@ -3,7 +3,7 @@ package test
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
annotation class Anno(vararg t: ElementType)
|
||||
annotation class Anno(vararg val t: ElementType)
|
||||
|
||||
Anno(ElementType.METHOD, ElementType.FIELD) fun foo() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user