JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc

This commit is contained in:
Alexey Andreev
2016-11-25 12:36:47 +03:00
parent e0cb56b3c3
commit 68412ae94f
173 changed files with 486 additions and 651 deletions
@@ -7,9 +7,9 @@ val foo = 23
val boo: Int
get() = 42
@native val bar: Int = noImpl
external val bar: Int = noImpl
@native val far: Int
external val far: Int
get() = noImpl
// TODO: annotations like this are not serialized properly. Uncomment after KT-14529 gets fixed
@@ -20,7 +20,8 @@ val fuzz: Int
inline fun fetchFoo() = foo
@JsName("fee") val tee = 2525
@JsName("fee")
val tee = 2525
// FILE: lib.js