[FIR] Support several annotation class diagnostics
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c112d37ac1
commit
80cd26c9df
+3
-3
@@ -5,8 +5,8 @@ import kotlin.reflect.KClass
|
||||
inline class MyInt(val x: Int)
|
||||
inline class MyString(val x: String)
|
||||
|
||||
annotation class Ann1(val a: MyInt)
|
||||
annotation class Ann2(val a: Array<MyString>)
|
||||
annotation class Ann3(vararg val a: MyInt)
|
||||
annotation class Ann1(val a: <!INVALID_TYPE_OF_ANNOTATION_MEMBER!>MyInt<!>)
|
||||
annotation class Ann2(val a: <!INVALID_TYPE_OF_ANNOTATION_MEMBER!>Array<MyString><!>)
|
||||
annotation class Ann3(vararg val a: <!INVALID_TYPE_OF_ANNOTATION_MEMBER!>MyInt<!>)
|
||||
|
||||
annotation class Ann4(val a: KClass<MyInt>)
|
||||
Vendored
+1
-1
@@ -18,4 +18,4 @@ class B(vararg val s: Foo) {
|
||||
constructor(a: Int, vararg s: Foo) : this(*s)
|
||||
}
|
||||
|
||||
annotation class Ann(vararg val f: Foo)
|
||||
annotation class Ann(vararg val f: <!INVALID_TYPE_OF_ANNOTATION_MEMBER!>Foo<!>)
|
||||
Reference in New Issue
Block a user