Implemented @native-* annotation migration quickfix for extension functions

As the first part of KT-15270 Quickfix to migrate from @native***
This commit is contained in:
qx
2017-04-28 10:13:26 +03:00
parent a71e5abb45
commit c364e79557
10 changed files with 160 additions and 24 deletions
@@ -0,0 +1,7 @@
// "Fix with 'asDynamic'" "true"
// JS
external class B
@Suppress("NOTHING_TO_INLINE")
inline fun B.boo(i: Int): B? = asDynamic()[i]