Annotation repetition checking with a pair of tests, some old tests changes

GitOrigin-RevId: 2829f9ca1e299147133a257d24bc31abba5c7298
This commit is contained in:
Mikhail Glukhikh
2015-07-28 17:13:32 +03:00
committed by intellij-monorepo-bot
parent d2ec229e37
commit 2e39fa53cd
2 changed files with 6 additions and 6 deletions
@@ -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)
@@ -32,6 +32,6 @@ annotation class a
target(AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.CLASSIFIER,
AnnotationTarget.CONSTRUCTOR, AnnotationTarget.TYPE)
annotation(repeatable = false) class b(val e: E)
annotation(repeatable = true) class b(val e: E)
enum class E { E1 E2 }