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
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class C {
|
||||
fun test() {
|
||||
@Ann
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
class Local {
|
||||
@Ann
|
||||
}
|
||||
}
|
||||
@Ann
|
||||
}
|
||||
|
||||
@Ann
|
||||
Reference in New Issue
Block a user