[Tests] Suspend Codegen Tests Improvements

This commit enables the execution of suspend box tests in a separate
test. It's a QoL improvement in the existing bb tests but, motivating
these changes, enables the new debugger stepping tests to step
coroutine code.
This commit is contained in:
pyos
2020-10-13 10:54:13 +02:00
committed by max-kammerer
parent 3291f8455b
commit e19ecdfb3d
9 changed files with 98 additions and 172 deletions
@@ -0,0 +1,10 @@
// WITH_COROUTINES
// FILE: test.kt
suspend fun box() {
var x = 1
}
// LOCAL VARIABLES
// TestKt:5: $completion:kotlin.coroutines.Continuation=helpers.ResultContinuation
// TestKt:6: $completion:kotlin.coroutines.Continuation=helpers.ResultContinuation, x:int=1:int