Ordinary completion prefers item matching expected name

This commit is contained in:
Valentin Kipyatkov
2015-08-05 17:51:15 +03:00
parent 07311234db
commit 9cba912fe5
6 changed files with 60 additions and 30 deletions
@@ -0,0 +1,10 @@
fun foo(xxx1: String?, xxx2: String, xxx3: Any, xp: String?) {
bar(x<caret>)
}
fun bar(pXxx: String){}
// ORDER: xxx2
// ORDER: xxx1
// ORDER: xp
// ORDER: xxx3