Files
kotlin-fork/idea/testData/checker/AnnotationOnFile.kt
T
Denis Zharkov 89337ff51e Change deprecation rules for annotations in brackets
Also adjust quickfix for deprecated syntax
2015-05-20 09:24:56 +03:00

23 lines
541 B
Kotlin
Vendored

@file:kotlin.deprecated("message")
@file:suppress(<error>BAR</error>)
@file:suppress(BAZ)
@<error>k</error>otlin.deprecated("message")
@<error>s</error>uppress(<error>BAR</error>)
@<error>s</error>uppress(BAZ)
@file:myAnnotation(1, "string")
@file:boo.myAnnotation(1, <error>BAR</error>)
@file:myAnnotation(N, BAZ)
@<error>m</error>yAnnotation(1, "string")
@<error>b</error>oo.myAnnotation(1, "string")
@<error>m</error>yAnnotation(N, BAZ)
package boo
val BAZ = "baz"
val N = 0
annotation class myAnnotation(val i: Int, val s: String)