d7fd2471b8
Remove CoroutineAdapter and LANGUAGE: +ReleaseContinuation, which are meaninless now. Update the tests accordingly.
11 lines
226 B
Kotlin
Vendored
11 lines
226 B
Kotlin
Vendored
inline fun inlineMe(crossinline c: suspend () -> Int): suspend () -> Int {
|
|
val i: suspend () -> Int = { c() + c() }
|
|
return i
|
|
}
|
|
|
|
// invokeSuspend$$forInline : valueOf
|
|
// invokeSuspend : boxInt
|
|
|
|
// 1 valueOf
|
|
// 1 boxInt
|