JS: replace noImpl with definedExternally in tests

This commit is contained in:
Alexey Andreev
2017-01-23 15:55:21 +03:00
parent 71a5d8a4ee
commit aedf8bd232
69 changed files with 326 additions and 326 deletions
@@ -2,26 +2,26 @@
external class A {
@nativeInvoke
fun foo() {noImpl}
fun foo() {definedExternally}
@nativeInvoke
fun invoke(a: String): Int = noImpl
fun invoke(a: String): Int = definedExternally
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
val foo: Int = noImpl
val foo: Int = definedExternally
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
object Obj1 {}
companion object {
@nativeInvoke
fun foo() { noImpl }
fun foo() { definedExternally }
@nativeInvoke
fun invoke(a: String): Int = noImpl
fun invoke(a: String): Int = definedExternally
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
val foo: Int = noImpl
val foo: Int = definedExternally
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
object Obj2 {}
@@ -4,26 +4,26 @@ external class A {
class B {
class C {
@nativeInvoke
fun foo() { noImpl }
fun foo() { definedExternally }
@nativeInvoke
fun invoke(a: String): Int = noImpl
fun invoke(a: String): Int = definedExternally
}
object obj {
@nativeInvoke
fun foo() { noImpl }
fun foo() { definedExternally }
@nativeInvoke
fun invoke(a: String): Int = noImpl
fun invoke(a: String): Int = definedExternally
}
companion object {
@nativeInvoke
fun foo() { noImpl }
fun foo() { definedExternally }
@nativeInvoke
fun invoke(a: String): Int = noImpl
fun invoke(a: String): Int = definedExternally
}
}
}