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,20 @@
trait Foo{
public fun foo() : Foo
public fun s() : String
public val prop : String
}
val foo = Foo()
fun f(p1: Foo, p2: String) {
var a : String
a = p1.foo().<caret>
}
// ABSENT: foo
// EXIST: s
// EXIST: prop
// ABSENT: foo
// ABSENT: p1
// ABSENT: p2
// ABSENT: a