Retain javascript name from @native annotation

As the first part of KT-15257 JS: quickfix to migrate from @native to external
This commit is contained in:
qx
2017-04-28 15:30:53 +03:00
parent c364e79557
commit 71de20b9e6
4 changed files with 75 additions and 17 deletions
@@ -0,0 +1,8 @@
// "Fix with 'asDynamic'" "true"
// JS
class A
@JsName("aaaa")
@Suppress("NOTHING_TO_INLINE")
inline fun A.foo(): Int = asDynamic().foo()