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:
@@ -0,0 +1,8 @@
|
||||
fun <R> String.fold(initial: R, operation: (acc: R, Char) -> R): R = TODO()
|
||||
|
||||
fun foo(p: Int) {
|
||||
"abc".fold(1) { <caret> }
|
||||
}
|
||||
|
||||
// ORDER: "acc, c ->"
|
||||
// ORDER: "acc: Int, c: Char ->"
|
||||
Reference in New Issue
Block a user