Completion prefers items matching expected type(s)

This commit is contained in:
Valentin Kipyatkov
2015-08-04 20:51:51 +03:00
parent 99f604f1c3
commit 44d277af87
12 changed files with 175 additions and 96 deletions
@@ -0,0 +1,7 @@
fun<T> foo(p1: Any, p2: Any?, p3: String?): String {
if (p2 is String) return p<caret>
}
// ORDER: p2
// ORDER: p3
// ORDER: p1