Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/AnnotationIdentifier.kt
T
Denis Zharkov fc447e2d2f Parse some builtin annotations as modifiers
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway

Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00

25 lines
385 B
Kotlin
Vendored

// FILE: a.kt
annotation class annotation
// FILE: test/b.kt
package test
<!NOT_AN_ANNOTATION_CLASS!>test.annotation<!> class annotation
kotlin.annotation.annotation class realAnnotation
realAnnotation class My
// FILE: other/c.kt
package other
annotation class My
<!NOT_AN_ANNOTATION_CLASS!>test.annotation<!> class Your
kotlin.annotation.annotation class His
My class Our