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
@@ -1,5 +1,3 @@
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
|
||||
inline fun inlineMe(crossinline c: suspend () -> Int): suspend () -> Int {
|
||||
val i: suspend () -> Int = { c() + c() }
|
||||
return i
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
|
||||
inline suspend fun inlineMe() = 1000
|
||||
|
||||
// inlineMe$$forInline : valueOf
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
|
||||
suspend fun produce(): Int = 1000
|
||||
|
||||
// 0 valueOf
|
||||
|
||||
Reference in New Issue
Block a user