[FIR] Add NOT_A_CLASS diagnostics

This commit is contained in:
Ivan Kochurkin
2021-11-18 20:33:54 +03:00
committed by TeamCityServer
parent aff885bcd1
commit 4caf3c5e83
10 changed files with 58 additions and 21 deletions
@@ -1,9 +0,0 @@
class Foo<T> {
@T
fun foo() = 0
}
class Bar<T : Annotation> {
@T
fun foo() = 0
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class Foo<T> {
@<!NOT_A_CLASS!>T<!>
fun foo() = 0