[FIR] Fix WRONG_ANNOTATION_TARGET for annotation for block, ^KT-52175 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// FIR_IDENTICAL
|
||||
// FIR_DUMP
|
||||
// ISSUE: KT-52175
|
||||
|
||||
annotation class Ann
|
||||
|
||||
fun test(x: String?) {
|
||||
if (x != null)
|
||||
@Ann() { Unit }
|
||||
}
|
||||
Reference in New Issue
Block a user