Annotations inheritance. Either prohibit or implement correctly #KT-3225 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
val a = object: T {}
|
||||
open class C
|
||||
trait 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 a<!>
|
||||
annotation class Ann4: <!SUPERTYPES_FOR_ANNOTATION_CLASS!>C(), T<!>
|
||||
Reference in New Issue
Block a user