Minor: "js.noImpl" -> "noImpl"
This commit is contained in:
@@ -2,13 +2,13 @@ package foo
|
||||
|
||||
native
|
||||
class A(val v: String) {
|
||||
fun m(i:Int, s:String): String = js.noImpl
|
||||
fun m(i:Int, s:String): String = noImpl
|
||||
}
|
||||
native
|
||||
fun A.nativeExt(i:Int, s:String): String = js.noImpl
|
||||
fun A.nativeExt(i:Int, s:String): String = noImpl
|
||||
|
||||
native("nativeExt2AnotherName")
|
||||
fun A.nativeExt2(i:Int, s:String): String = js.noImpl
|
||||
fun A.nativeExt2(i:Int, s:String): String = noImpl
|
||||
|
||||
fun bar(a: A, extLambda: A.(Int, String) -> String): String = a.(extLambda)(4, "boo")
|
||||
|
||||
@@ -25,4 +25,4 @@ fun box(): String {
|
||||
assertEquals("nativeExt2 test 4 boo", bar(a, A::nativeExt2))
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user