JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
package foo
|
||||
|
||||
@native
|
||||
internal class A(val v: String)
|
||||
internal external class A(val v: String)
|
||||
|
||||
internal class B {
|
||||
fun bar(a: A, extLambda: A.(Int, String) -> String): String = a.extLambda(7, "_rr_")
|
||||
}
|
||||
|
||||
@native
|
||||
internal fun nativeBox(b: B): String = noImpl
|
||||
|
||||
internal external fun nativeBox(b: B): String = noImpl
|
||||
|
||||
fun box(): String {
|
||||
val r = nativeBox(B())
|
||||
|
||||
Reference in New Issue
Block a user