[FIR] Initialize annotations for block for LightTree
This commit is contained in:
@@ -3,8 +3,12 @@
|
||||
// ISSUE: KT-52175
|
||||
|
||||
annotation class Ann
|
||||
annotation class Ann2
|
||||
|
||||
fun test(x: String?) {
|
||||
if (x != null)
|
||||
@Ann() { Unit }
|
||||
@Ann() @Ann2() { Unit } // It should be Block with annotations
|
||||
|
||||
if (x != null)
|
||||
@Ann() @Ann2() Unit // It should be SingleExpressionBlock with annotations
|
||||
}
|
||||
Reference in New Issue
Block a user