Fix two obsoleteCoroutines tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.coroutines.experimental.Continuation
|
||||
import kotlin.coroutines.resume
|
||||
|
||||
fun test(con: Continuation<Int>) {
|
||||
con.<caret>resume(12)
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import kotlin.coroutines.experimental.Continuation
|
||||
import kotlin.coroutines.resumeWithException
|
||||
|
||||
fun test(con: Continuation<Int>) {
|
||||
con.<caret>resumeWithException(RuntimeException("Haha"))
|
||||
|
||||
Reference in New Issue
Block a user