Completion of lambda parameters

Also changed policy for sorting of smart completion items in basic completion

 #KT-16800 Fixed
 #KT-12002 Fixed
This commit is contained in:
Valentin Kipyatkov
2017-03-16 20:36:08 +03:00
parent c6b9aebfcf
commit b5dd2cc540
66 changed files with 558 additions and 256 deletions
@@ -8,5 +8,6 @@ fun f() {
}
// ORDER: {...}
// ORDER: { Int -> ... }
// ORDER: { i -> ... }
// ORDER: { i: Int -> ... }
// ORDER: ::fff2
@@ -10,7 +10,8 @@ fun bar(p: (String) -> Boolean) {
// ORDER: ::doFilter
// ORDER: p
// ORDER: {...}
// ORDER: { String -> ... }
// ORDER: { s -> ... }
// ORDER: { s: String -> ... }
// ORDER: ::x
// ORDER: ::TODO
// ORDER: ::error