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): String {
val v1 = p1.toString()
val v2 = 123
r<before><change>
}
// TYPE: "eturn "
// COMPLETION_TYPE: SMART
// ABSENT: p1
// EXIST: p2
// EXIST: v1
// ABSENT: v2