JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc
This commit is contained in:
+3
-4
@@ -1,14 +1,13 @@
|
||||
// !DIAGNOSTICS: -DEPRECATION
|
||||
@nativeInvoke
|
||||
fun Int.foo(a: String): Int = noImpl
|
||||
|
||||
@native
|
||||
class Bar(b: Int, c: Char) {
|
||||
external class Bar(b: Int, c: Char) {
|
||||
@nativeInvoke
|
||||
fun baz(d: Int) {}
|
||||
}
|
||||
|
||||
@native
|
||||
object Obj {
|
||||
external object Obj {
|
||||
@nativeInvoke
|
||||
fun test1(e: String) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user