JVM IR: Remove remains of 1.2 coroutines from tests

Remove CoroutineAdapter and LANGUAGE: +ReleaseContinuation,
which are meaninless now.
Update the tests accordingly.
This commit is contained in:
Ilmir Usmanov
2023-02-03 04:33:50 +01:00
committed by Space Team
parent ebc4cf7f96
commit d7fd2471b8
47 changed files with 159 additions and 319 deletions
@@ -18,11 +18,9 @@ class Controller {
fun builder(c: suspend Controller.() -> Unit) {
val controller = Controller()
c.startCoroutine(controller, object : helpers.ContinuationAdapter<Unit>() {
c.startCoroutine(controller, object : Continuation<Unit> {
override val context: CoroutineContext = EmptyCoroutineContext
override fun resume(value: Unit) {}
override fun resumeWithException(exception: Throwable) {}
override fun resumeWith(value: Result<Unit>) {}
})
controller.callback()