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,8 @@
fun foo(p: Any): String {
if (p !is String) return ""
r<before><change>
}
// TYPE: "eturn "
// COMPLETION_TYPE: SMART
// EXIST: p