JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc
This commit is contained in:
@@ -28,9 +28,9 @@ package foo
|
||||
|
||||
// CHECK_NOT_CALLED: moveTo
|
||||
|
||||
@native fun Array<Int>.push(element: Int): Unit = noImpl
|
||||
external fun Array<Int>.push(element: Int): Unit = noImpl
|
||||
|
||||
@native fun Array<Int>.splice(index: Int, howMany: Int): Unit = noImpl
|
||||
external fun Array<Int>.splice(index: Int, howMany: Int): Unit = noImpl
|
||||
|
||||
data class PairArray<T, R>(val fst: Array<T>, val snd: Array<R>)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user