Optimization to reuse BindingContext in completion

This commit is contained in:
Valentin Kipyatkov
2016-10-31 22:49:37 +03:00
parent 1174c7bdd9
commit 09dbb07fb8
30 changed files with 548 additions and 22 deletions
@@ -0,0 +1,12 @@
fun foo(p1: Int, p2: String): Int {
val v1 = p2<change>
val v2 = 123
return <before><caret>
}
// TYPE: ".hashCode()"
// COMPLETION_TYPE: SMART
// EXIST: v1
// EXIST: v2
// EXIST: p1
// ABSENT: p2