[FIR] Fix annotations invalid references diagnostics

This commit is contained in:
Igor Yakovlev
2021-04-30 17:12:58 +02:00
committed by TeamCityServer
parent 261098a122
commit ae63ad0b6d
18 changed files with 78 additions and 39 deletions
@@ -5,7 +5,7 @@ interface I {
}
class A {
fun too(): <!NOT_AN_ANNOTATION_CLASS!>@Annotation<!> Unit {}
fun too(): @<!NOT_AN_ANNOTATION_CLASS!>Annotation<!> Unit {}
fun foo(): <!REDUNDANT_RETURN_UNIT_TYPE!>Unit<!>
{