- KT-1147 Can't see local variable in completion

- Disable class level keywords from method parameters list
- Reorganize completion tests to separate methods
This commit is contained in:
Nikolay Krasko
2012-02-07 20:05:58 +04:00
parent adfce7e22d
commit d1409116f3
12 changed files with 309 additions and 111 deletions
@@ -0,0 +1,19 @@
package testing
fun testTop() {
}
class TestSample() {
fun main(args : Array<String>) {
val testVar = ""
test<caret>.testFun()
}
fun testFun() {
}
}
// TIME: 2
// EXIST: testVar, testFun, testTop
@@ -0,0 +1,9 @@
package testdata.kotlin.data
class TestSample() {
fun main(args : Array<String>) {
testdata.kot<caret>lin.data.TestSample()
}
}
// EXIST: kotlin