KT-2752: declare properties as a pair of functions when accessors are marked with @JsName

This commit is contained in:
Alexey Andreev
2016-06-02 15:01:47 +03:00
parent 6e1a0901ac
commit be0013d9f2
17 changed files with 322 additions and 39 deletions
@@ -0,0 +1,7 @@
package foo
class A {
var x: Int
<!JS_NAME_CLASH!>@JsName("xx") get() = 0<!>
<!JS_NAME_CLASH!>@JsName("xx") set(value) {}<!>
}