fc447e2d2f
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
16 lines
331 B
Kotlin
Vendored
16 lines
331 B
Kotlin
Vendored
@Target(AnnotationTarget.CLASSIFIER)
|
|
annotation class base
|
|
|
|
@Target(AnnotationTarget.ANNOTATION_CLASS)
|
|
annotation class meta
|
|
|
|
base class Outer {
|
|
base <!WRONG_ANNOTATION_TARGET!>meta<!> class Nested
|
|
|
|
base meta annotation class Annotated
|
|
|
|
fun foo() {
|
|
@base <!WRONG_ANNOTATION_TARGET!>@meta<!> class Local
|
|
}
|
|
}
|