Basic completion shows items from smart completion after "as" + do not insert any tail in basic completion

This commit is contained in:
Valentin Kipyatkov
2015-08-06 20:23:50 +03:00
parent be0a0e4401
commit e6f5cefce3
16 changed files with 216 additions and 91 deletions
@@ -0,0 +1,7 @@
fun foo(list: List<String>){}
fun bar(o: Any) {
foo(o as <caret>)
}
// EXIST: { itemText: "List<String>" }
@@ -0,0 +1,10 @@
class Xyz
fun foo(xyz: Xyz){}
fun bar(o: Any) {
foo(o as Xy<caret>)
}
// EXIST: Xyz
// NOTHING_ELSE