KT-5072 Values of extension function type are not seen in completion

#KT-5072 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-11-13 19:42:43 +03:00
parent 2e2dfcb4a0
commit 927df1c4cd
23 changed files with 305 additions and 11 deletions
@@ -0,0 +1,5 @@
fun test(i: Int, foo: Int.() -> Char) {
i.<caret>
}
// ELEMENT: foo
@@ -0,0 +1,5 @@
fun test(i: Int, foo: Int.() -> Char) {
i.foo()<caret>
}
// ELEMENT: foo
@@ -0,0 +1,5 @@
fun test(i: Int, foo: Int.(String) -> Char) {
i.<caret>
}
// ELEMENT: foo
@@ -0,0 +1,5 @@
fun test(i: Int, foo: Int.(String) -> Char) {
i.foo(<caret>)
}
// ELEMENT: foo