AddSuspendModifierFix: suggest in inline lambda

#KT-38139 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-04-09 09:43:24 +09:00
committed by Roman Golyshev
parent 982f429d6b
commit b9a220c624
7 changed files with 104 additions and 2 deletions
@@ -0,0 +1,11 @@
// "Make test suspend" "true"
suspend fun foo() {}
inline fun bar(f: () -> Unit) {
}
suspend fun test() {
bar {
foo()
}
}