KT-35042 Fix InsertHandlerProvider.kt to work with suspend functional parameters

- ^KT-35042 Fixed
- Also, fix review suggestions for KOTLIN-CR-3495
This commit is contained in:
Roman Golyshev
2019-11-21 20:30:49 +03:00
committed by Roman Golyshev
parent 6f234beb9c
commit 3112d70420
6 changed files with 31 additions and 8 deletions
@@ -0,0 +1,7 @@
fun <T1, T2> T1.foo(handler: suspend (T2) -> Boolean) {}
fun f() {
"".<caret>
}
// ELEMENT: foo
@@ -0,0 +1,7 @@
fun <T1, T2> T1.foo(handler: suspend (T2) -> Boolean) {}
fun f() {
"".foo<<caret>> { }
}
// ELEMENT: foo