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:
Alexander Udalov
2014-09-12 16:02:59 +04:00
parent f64e633a7e
commit f39c3041d2
14 changed files with 20 additions and 9 deletions
@@ -7,4 +7,6 @@ test.Anno(t = {ElementType.METHOD, ElementType.FIELD}: kotlin.Array<java.lang.an
internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno(/*0*/ vararg t: java.lang.annotation.ElementType /*kotlin.Array<java.lang.annotation.ElementType>*/)
internal final val t: kotlin.Array<java.lang.annotation.ElementType>
internal final fun <get-t>(): kotlin.Array<java.lang.annotation.ElementType>
}