b5dd2cc540
Also changed policy for sorting of smart completion items in basic completion #KT-16800 Fixed #KT-12002 Fixed
9 lines
183 B
Kotlin
Vendored
9 lines
183 B
Kotlin
Vendored
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 ->"
|