Very initial implementation of smart completion

This commit is contained in:
Valentin Kipyatkov
2013-11-11 21:46:05 +04:00
parent a3e67ff27d
commit a7f11e6852
25 changed files with 436 additions and 42 deletions
@@ -0,0 +1,19 @@
class Foo
class Bar : Foo
val xfoo = Foo()
val xbar = Bar()
val xo : Object = Object()
fun f(xp1 : Foo, xp2 : Bar, xp3 : String, p4 : Foo) {
var a : Foo
a = x<caret>y
}
// EXIST: xfoo
// EXIST: xbar
// ABSENT: xo
// EXIST: xp1
// EXIST: xp2
// ABSENT: xp3
// ABSENT: p4