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:
committed by
Space Team
parent
ebc4cf7f96
commit
d7fd2471b8
+2
-4
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user