Deprecate escaped modifiers and unescaped annotations
This commit is contained in:
Vendored
+2
-2
@@ -30,8 +30,8 @@ var vardef: Int = 1
|
||||
set
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@JvmName("C")<!>
|
||||
class C <!WRONG_ANNOTATION_TARGET!>JvmName("primary")<!> constructor() {
|
||||
<!WRONG_ANNOTATION_TARGET!>JvmName("ctr")<!> constructor(x: Int): this() {}
|
||||
class C <!WRONG_ANNOTATION_TARGET!>@JvmName("primary")<!> constructor() {
|
||||
<!WRONG_ANNOTATION_TARGET!>@JvmName("ctr")<!> constructor(x: Int): this() {}
|
||||
|
||||
@JvmName("a")
|
||||
fun foo() {}
|
||||
|
||||
Reference in New Issue
Block a user