FIR: support WRONG_ANNOTATION_TARGET on expressions

This commit is contained in:
Mikhail Glukhikh
2021-05-13 16:12:02 +03:00
parent 92ab600081
commit d11092ae3c
23 changed files with 103 additions and 44 deletions
+1 -1
View File
@@ -18,6 +18,6 @@ fun test() : Unit {
val s = "" as Any
("" as String?)?.length
(data@("" as String?))?.length
(@MustBeDocumented()( "" as String?))?.length
(<!WRONG_ANNOTATION_TARGET!>@MustBeDocumented()<!>( "" as String?))?.length
Unit
}