Attempt to preserve partial substitution when detecting expected type for smart completion

This commit is contained in:
Valentin Kipyatkov
2017-03-19 18:22:54 +03:00
parent b5dd2cc540
commit 3ec28f1242
3 changed files with 31 additions and 11 deletions
@@ -0,0 +1,6 @@
fun foo() {
listOf(1, 2).map { <caret> }
}
// EXIST: "i ->"
// EXIST: "i: Int ->"