Report syntax error on unescaped annotation
Also adjust parser testData
This commit is contained in:
+3
-3
@@ -3,15 +3,15 @@ class A {
|
||||
|
||||
val x: Int
|
||||
|
||||
private annot constructor(x: Int) {}
|
||||
private @annot constructor(x: Int) {}
|
||||
|
||||
@constructor fun constructor() {}
|
||||
|
||||
annot protected constructor(x: Int, y: Int) : this(1,2) {}
|
||||
@annot protected constructor(x: Int, y: Int) : this(1,2) {}
|
||||
|
||||
@[constructor] public constructor() : super() {
|
||||
x = 1
|
||||
}
|
||||
}
|
||||
|
||||
constructor class B
|
||||
@constructor class B
|
||||
|
||||
Reference in New Issue
Block a user