b9a220c624
#KT-38139 Fixed
17 lines
382 B
Kotlin
Vendored
17 lines
382 B
Kotlin
Vendored
// "Make test suspend" "false"
|
|
// DISABLE-ERRORS
|
|
// ACTION: Convert to single-line lambda
|
|
// ACTION: Enable a trailing comma by default in the formatter
|
|
// ACTION: Introduce import alias
|
|
// ACTION: Move lambda argument into parentheses
|
|
// ACTION: Specify explicit lambda signature
|
|
suspend fun foo() {}
|
|
|
|
fun bar(f: () -> Unit) {
|
|
}
|
|
|
|
fun test() {
|
|
bar {
|
|
<caret>foo()
|
|
}
|
|
} |