3b3fd0fa0d
The size has increased due to new implementation of KClass
16 lines
267 B
Kotlin
Vendored
16 lines
267 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1122
|
|
package foo
|
|
|
|
object A {
|
|
@JsName("js_f") private fun f(x: Int) = "f($x)"
|
|
}
|
|
|
|
fun test() = js("""
|
|
return JS_TESTS.foo.A.js_f(23);
|
|
""")
|
|
|
|
fun box(): String {
|
|
val result = test()
|
|
assertEquals("f(23)", result);
|
|
return "OK"
|
|
} |