Files
kotlin-fork/compiler/testData/lazyResolve/recursiveComparator/WrongAnnotationArgsOnObject.kt
T
Alexander Udalov f39c3041d2 Make MISSING_VAL_ON_ANNOTATION_PARAMETER error instead of warning
Annotation with a parameter that is not stored doesn't make any sense
2014-09-15 19:30:52 +04:00

9 lines
119 B
Kotlin

package test
BadAnnotation(1)
object SomeObject
val some = SomeObject
annotation class BadAnnotation(val s: String)