Annotation repetition checking with a pair of tests, some old tests changes
This commit is contained in:
+5
-5
@@ -1,10 +1,10 @@
|
||||
<error>@file:kotlin.deprecated("message")</error>
|
||||
@file:suppress(<error>BAR</error>)
|
||||
@file:suppress(BAZ)
|
||||
<error>@file:suppress(BAZ)</error>
|
||||
|
||||
<error>@<error>k</error>otlin.deprecated("message")</error>
|
||||
@<error>s</error>uppress(<error>BAR</error>)
|
||||
@<error>s</error>uppress(BAZ)
|
||||
<error><error>@<error>k</error>otlin.deprecated("message")</error></error>
|
||||
<error>@<error>s</error>uppress(<error>BAR</error>)</error>
|
||||
<error>@<error>s</error>uppress(BAZ)</error>
|
||||
|
||||
@file:myAnnotation(1, "string")
|
||||
@file:boo.myAnnotation(1, <error>BAR</error>)
|
||||
@@ -20,4 +20,4 @@ val BAZ = "baz"
|
||||
val N = 0
|
||||
|
||||
target(AnnotationTarget.FILE)
|
||||
annotation class myAnnotation(val i: Int, val s: String)
|
||||
annotation(repeatable = true) class myAnnotation(val i: Int, val s: String)
|
||||
|
||||
Reference in New Issue
Block a user