Fixed KT-15270 Quickfix to migrate from @native***
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
external class B {
|
||||
@nativeGetter
|
||||
fun foo(i: Int): B?
|
||||
|
||||
@nati<caret>veSetter
|
||||
fun foo(i: Int, v: B)
|
||||
|
||||
@nativeInvoke
|
||||
fun bar(a: B)
|
||||
|
||||
@nativeInvoke
|
||||
fun<T> exp(t: T)
|
||||
|
||||
fun dontTouch(): Nothing = definedExternally
|
||||
}
|
||||
Reference in New Issue
Block a user