Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/name/jsNameMissingOnAccessors.fir.kt
T
2023-01-09 08:57:12 +00:00

24 lines
547 B
Kotlin
Vendored

package foo
class A {
<!JS_NAME_IS_NOT_ON_ALL_ACCESSORS!>var x: Int<!>
@JsName("get_x") get() = 23
set(value) {}
<!JS_NAME_IS_NOT_ON_ALL_ACCESSORS!>var y: Int<!>
get() = 23
@JsName("set_y") set(value) {}
var z: Int
@JsName("get_z") get() = 23
@JsName("set_z") set(value) {}
}
<!JS_NAME_IS_NOT_ON_ALL_ACCESSORS!>var xx: Int<!>
@JsName("get_xx") get() = 23
set(value) {}
<!JS_NAME_IS_NOT_ON_ALL_ACCESSORS!>var A.ext: Int<!>
@JsName("get_ext") get() = 23
set(value) {}