From 152c8b521e82cbd9bcaa3f25b354a38a6e12e333 Mon Sep 17 00:00:00 2001 From: qx Date: Fri, 19 May 2017 21:01:43 +0300 Subject: [PATCH] Missed file --- .../quickfix/migration/jsExternal/nestedExtension01.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 idea/testData/quickfix/migration/jsExternal/nestedExtension01.kt 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 +}