KT-2752: move some diagnostics from entire declarations to their headers

This commit is contained in:
Alexey Andreev
2016-06-23 18:04:56 +03:00
parent fb7f221158
commit 49022fd5bc
17 changed files with 41 additions and 40 deletions
@@ -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()<!> {}