[FIR] Introduce supertypes-for-annotation-class checker
This commit is contained in:
+4
-4
@@ -2,7 +2,7 @@ val a = object: T {}
|
||||
open class C
|
||||
interface T
|
||||
|
||||
annotation class Ann: C()
|
||||
annotation class Ann2: T
|
||||
annotation class Ann3: T by <!ANNOTATION_CLASS_MEMBER!>a<!>
|
||||
annotation class Ann4: C(), T
|
||||
annotation class Ann: <!SUPERTYPES_FOR_ANNOTATION_CLASS!>C()<!>
|
||||
annotation class Ann2: <!SUPERTYPES_FOR_ANNOTATION_CLASS!>T<!>
|
||||
annotation class Ann3: <!SUPERTYPES_FOR_ANNOTATION_CLASS!>T by <!ANNOTATION_CLASS_MEMBER!>a<!><!>
|
||||
annotation class Ann4: <!SUPERTYPES_FOR_ANNOTATION_CLASS!>C(), T<!>
|
||||
|
||||
@@ -9,4 +9,4 @@ open class Your {
|
||||
open val x: Int = 0
|
||||
}
|
||||
|
||||
annotation class His(override val x: Int): Your()
|
||||
annotation class His(override val x: Int): <!SUPERTYPES_FOR_ANNOTATION_CLASS!>Your()<!>
|
||||
|
||||
Reference in New Issue
Block a user