diff --git a/idea/testData/completion/handlers/ExtFunction.kt b/idea/testData/completion/handlers/ExtFunction.kt new file mode 100644 index 00000000000..a12a341e26e --- /dev/null +++ b/idea/testData/completion/handlers/ExtFunction.kt @@ -0,0 +1,3 @@ +fun main(args : Array) { + "".toS +} \ No newline at end of file diff --git a/idea/testData/completion/handlers/ExtFunction.kt.after b/idea/testData/completion/handlers/ExtFunction.kt.after new file mode 100644 index 00000000000..bad7b3b6669 --- /dev/null +++ b/idea/testData/completion/handlers/ExtFunction.kt.after @@ -0,0 +1,3 @@ +fun main(args : Array) { + "".toString() +} \ No newline at end of file diff --git a/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java b/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java index 0be2e25cd40..91297f67b13 100644 --- a/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java +++ b/idea/tests/org/jetbrains/jet/completion/handlers/CompletionHandlerTest.java @@ -68,6 +68,10 @@ public class CompletionHandlerTest extends LightCompletionTestCase { doTest(); } + public void testExtFunction() { + doTest(); + } + public void testHigherOrderFunction() { doTest(); }