b5dd2cc540
Also changed policy for sorting of smart completion items in basic completion #KT-16800 Fixed #KT-12002 Fixed
14 lines
199 B
Kotlin
Vendored
14 lines
199 B
Kotlin
Vendored
fun foo(p: (Int) -> Unit) { }
|
|
|
|
fun fff1(p: Int): Nothing{}
|
|
fun fff2(p: Int): Unit{}
|
|
|
|
fun f() {
|
|
foo(<caret>)
|
|
}
|
|
|
|
// ORDER: {...}
|
|
// ORDER: { i -> ... }
|
|
// ORDER: { i: Int -> ... }
|
|
// ORDER: ::fff2
|