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
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
fun foo(p: (Int) -> Unit) { }
|
||||
|
||||
fun fff1(p: Int): Nothing{}
|
||||
fun fff2(p: Int): Unit{}
|
||||
|
||||
fun f() {
|
||||
foo(::fff<caret>)
|
||||
}
|
||||
|
||||
// ORDER: fff2
|
||||
// ORDER: fff1
|
||||
Reference in New Issue
Block a user