- KT-1430 Import popup/type completion does not work for extension functions

- refactoring for auto import tests
This commit is contained in:
Nikolay Krasko
2012-03-07 13:42:06 +04:00
parent a94b77ffc9
commit ec29e06115
18 changed files with 374 additions and 178 deletions
@@ -0,0 +1,9 @@
// "Import Class" "true"
package testingExtensionFunctionsImport
import testingExtensionFunctionsImport.data.someFun
fun some() {
val str = ""
str.someFun()
}
@@ -0,0 +1,7 @@
// "Import Class" "true"
package testingExtensionFunctionsImport
fun some() {
val str = ""
str.<caret>someFun()
}
@@ -0,0 +1,4 @@
package testingExtensionFunctionsImport.data
fun String.someFun() {
}