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:
Valentin Kipyatkov
2016-04-29 19:09:26 +03:00
parent 81e4114c5a
commit 16c38a2415
10 changed files with 71 additions and 7 deletions
@@ -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