Files
kotlin-fork/compiler/testData/psi/annotation/at/danglingBlockLevelAnnotations.kt
T
Denis Zharkov 7353b08f09 Change parsing of statements starting with annotations
If a block statement starts with annotations treat them as they
belong to node of the statement rather than to the closest prefix expression

 #KT-10210 Fixed
2016-10-05 10:29:29 +03:00

15 lines
135 B
Kotlin
Vendored

class C {
fun test() {
@Ann
}
fun foo() {
class Local {
@Ann
}
}
@Ann
}
@Ann