JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc
This commit is contained in:
+4
-8
@@ -1,16 +1,12 @@
|
||||
@native
|
||||
fun foo(a: String): Int = noImpl
|
||||
external fun foo(a: String): Int = noImpl
|
||||
|
||||
@native
|
||||
fun Int.foo(a: String): Int = noImpl
|
||||
external fun Int.foo(a: String): Int = noImpl
|
||||
|
||||
@native
|
||||
class Bar(b: Int, c: Char) {
|
||||
external class Bar(b: Int, c: Char) {
|
||||
fun baz(d: Int) {}
|
||||
}
|
||||
|
||||
@native
|
||||
object Obj {
|
||||
external object Obj {
|
||||
fun test1(e: String) {}
|
||||
object Nested {
|
||||
fun test2(g: Int) {}
|
||||
|
||||
Reference in New Issue
Block a user