JS: use 'external' word instead of 'native' in diagnostic messages

See KT-20639
This commit is contained in:
Alexey Andreev
2017-10-16 19:15:28 +03:00
parent 8a34c48d56
commit d9d565d8b0
9 changed files with 20 additions and 20 deletions
@@ -1,5 +1,5 @@
external interface I
fun box(a: Any, b: Any): Pair<I, I?> {
return Pair(<!UNCHECKED_CAST_TO_NATIVE_INTERFACE!>a as I<!>, <!UNCHECKED_CAST_TO_NATIVE_INTERFACE!>b as? I<!>)
return Pair(<!UNCHECKED_CAST_TO_EXTERNAL_INTERFACE!>a as I<!>, <!UNCHECKED_CAST_TO_EXTERNAL_INTERFACE!>b as? I<!>)
}