blob: ac5b3c2a4f96d759ac3eb38432965adaa43d3843 [file] [log] [blame]
// "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
}