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:
@@ -0,0 +1,8 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
class A
|
||||
|
||||
@JsName("aaaa")
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline fun A.foo(): Int = asDynamic().foo()
|
||||
Reference in New Issue
Block a user