diff --git a/idea/testData/quickfix/migration/jsExternal/nestedExtension01.kt b/idea/testData/quickfix/migration/jsExternal/nestedExtension01.kt new file mode 100644 index 00000000000..8776ae27f00 --- /dev/null +++ b/idea/testData/quickfix/migration/jsExternal/nestedExtension01.kt @@ -0,0 +1,10 @@ +// "Fix with 'asDynamic'" "false" +// JS +// ACTION: Convert to block body +// ACTION: Move to companion object +// ACTION: Remove explicit type specification +// ERROR: Declaration of such kind (extension function) cant be external + +external class A { + fun A.bar(): Nothing = definedExternally +}