[FIR] Fix WRONG_ANNOTATION_TARGET for annotation for block, ^KT-52175 Fixed

This commit is contained in:
Ivan Kochurkin
2022-05-31 22:32:15 +03:00
committed by teamcity
parent b573532d8c
commit 34b5ce21a1
8 changed files with 75 additions and 1 deletions
@@ -0,0 +1,10 @@
// FIR_IDENTICAL
// FIR_DUMP
// ISSUE: KT-52175
annotation class Ann
fun test(x: String?) {
if (x != null)
@Ann() { Unit }
}