Allow annotations on loop statements
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun test() {
|
||||
[ann]
|
||||
while (1 < 2) {}
|
||||
|
||||
[ann]
|
||||
do {} while (1 < 2)
|
||||
|
||||
[ann]
|
||||
for (i in 1..2) {}
|
||||
}
|
||||
|
||||
annotation class ann
|
||||
Reference in New Issue
Block a user