Completion: immediate members get higher priority in the list

This commit is contained in:
Valentin Kipyatkov
2014-12-01 22:35:19 +03:00
parent 72ff719001
commit cf35fc1fd5
7 changed files with 150 additions and 36 deletions
@@ -0,0 +1,11 @@
fun String?.forNullableString(){}
fun Any?.forNullableAny(){}
fun String.forString(){}
fun foo(s: String?) {
s.for<caret>
}
// ORDER: forNullableString
// ORDER: forNullableAny
// ORDER: forString