Files
kotlin-fork/idea/idea-completion/testData/weighers/basic/CallableReference_NothingLast.kt
T
Valentin Kipyatkov 16c38a2415 KT-12138 Do not show "::error" in smart completion when any function type accepting one argument is expected
(actually made them lowest priority)

 #KT-12138 Fixed
2016-05-04 17:28:30 +03:00

12 lines
150 B
Kotlin
Vendored

fun foo(p: (Int) -> Unit) { }
fun fff1(p: Int): Nothing{}
fun fff2(p: Int): Unit{}
fun f() {
foo(::fff<caret>)
}
// ORDER: fff2
// ORDER: fff1