KT-29926: Support completion of suspend lambda body and parameters

- ^KT-29926 Fixed
This commit is contained in:
Roman Golyshev
2019-10-17 14:41:07 +03:00
committed by Roman Golyshev
parent da4097f488
commit e89a87b2e3
8 changed files with 48 additions and 4 deletions
@@ -0,0 +1,11 @@
fun foo(p: suspend (String, Int) -> Unit){}
fun foo(p: suspend (Char, xx: Any) -> Unit){}
fun bar() {
foo(<caret>)
}
// ABSENT: "{ s, i -> ... }"
// ABSENT: "{ c, xx -> ... }"
// EXIST: "{ String, Int -> ... }"
// EXIST: "{ Char, xx -> ... }"