Fixed KT-15270 Quickfix to migrate from @native***
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// "Fix with 'asDynamic'" "true"
|
||||
// JS
|
||||
|
||||
@<caret>native
|
||||
class B {
|
||||
@nativeGetter
|
||||
fun foo(i: Int): B?
|
||||
|
||||
@na<caret>tiveSetter
|
||||
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