Files
kotlin-fork/idea/testData/quickfix/migration/jsExternal/nativeMemberAll03.kt
T
2020-02-26 18:57:11 +03:00

21 lines
430 B
Kotlin
Vendored

// "Fix with 'asDynamic'" "true"
// JS
// ERROR: Declaration of such kind (extension function) can't be external
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
fun B.doNotTouchNestedExtensionMembers(): Nothing = definedExternally
}