Replace native with @native in js testData
This commit is contained in:
@@ -4,14 +4,14 @@ internal val PACKAGE = "Kotlin.modules.JS_TESTS.foo"
|
||||
|
||||
internal fun funToString(name: String) = eval("$PACKAGE.$name.toString()") as String
|
||||
|
||||
internal native("\"O\"") val foo: String = noImpl
|
||||
internal native("boo") val bar: String = noImpl
|
||||
internal @native("\"O\"") val foo: String = noImpl
|
||||
internal @native("boo") val bar: String = noImpl
|
||||
|
||||
internal class A
|
||||
internal native("__proto__") val Any.proto: String get() = noImpl
|
||||
internal native("__proto__") val A.proto: String get() = noImpl
|
||||
internal @native("__proto__") val Any.proto: String get() = noImpl
|
||||
internal @native("__proto__") val A.proto: String get() = noImpl
|
||||
|
||||
internal fun actual(foo: String, native("boo") bar: String) = foo + bar
|
||||
internal fun actual(foo: String, @native("boo") bar: String) = foo + bar
|
||||
internal fun expected(foo: String, boo: String) = foo + boo
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user