Merge pull request #34 from Frostman/import-quickfix-smallfix

Small fixes of import quickfix: #KT-1614 fixed
This commit is contained in:
Nikolay Krasko
2012-04-03 03:52:31 -07:00
11 changed files with 29 additions and 26 deletions
@@ -1,8 +1,8 @@
// "Import Class" "true"
// "Import" "true"
package some
import kotlin.util.measureTimeNano
fun testFun() {
measureTimeNano()
}
}
@@ -1,6 +1,6 @@
// "Import Class" "true"
// "Import" "true"
package some
fun testFun() {
<caret>measureTimeNano()
}
}
@@ -1,7 +1,7 @@
// "Import Class" "true"
// "Import" "true"
import TestData.TestSample
fun test() {
val a = TestSample
}
}
@@ -1,5 +1,5 @@
// "Import Class" "true"
// "Import" "true"
fun test() {
val a = <caret>TestSample
}
}
@@ -1,4 +1,4 @@
// "Import Class" "true"
// "Import" "true"
package testingExtensionFunctionsImport
import testingExtensionFunctionsImport.data.someFun
@@ -6,4 +6,4 @@ import testingExtensionFunctionsImport.data.someFun
fun some() {
val str = ""
str.someFun()
}
}
@@ -1,7 +1,7 @@
// "Import Class" "true"
// "Import" "true"
package testingExtensionFunctionsImport
fun some() {
val str = ""
str.<caret>someFun()
}
}
@@ -1,8 +1,8 @@
// "Import Class" "true"
// "Import" "true"
package functionimporttest
import functionimporttest.data.someTestFun
fun functionImportTest() {
someTestFun()
}
}
@@ -1,6 +1,6 @@
// "Import Class" "true"
// "Import" "true"
package functionimporttest
fun functionImportTest() {
<caret>someTestFun()
}
}