[LL FIR] add tests for nested class as annotation argument
^KT-62587
This commit is contained in:
committed by
Space Team
parent
5298d79dec
commit
bbd09c6272
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.TYPE)
|
||||
annotation class Special(val why: KClass<*>)
|
||||
|
||||
interface Interface
|
||||
|
||||
class Outer {
|
||||
@Special(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!><!UNRESOLVED_REFERENCE!>NestedNested<!>::class<!>)
|
||||
class Nested<@Special(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!><!UNRESOLVED_REFERENCE!>NestedNested<!>::class<!>) T> : @Special(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!><!UNRESOLVED_REFERENCE!>NestedNested<!>::class<!>) Interface {
|
||||
class NestedNested
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user