KT-2752: move some diagnostics from entire declarations to their headers
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
package foo
|
||||
|
||||
class A(val x: String) {
|
||||
<!JS_NAME_CLASH!>@JsName("aa") constructor(x: Int) : this("int $x")<!>
|
||||
@JsName("aa") <!JS_NAME_CLASH!>constructor(x: Int)<!> : this("int $x")
|
||||
}
|
||||
|
||||
<!JS_NAME_CLASH!>fun aa() {}<!>
|
||||
<!JS_NAME_CLASH!>fun aa()<!> {}
|
||||
Reference in New Issue
Block a user