Extend LVT record of alive variables to end of next suspension point

Otherwise, arguments of suspend call become invisible in async stack
trace
 #KT-44714
This commit is contained in:
Ilmir Usmanov
2021-03-08 18:12:51 +01:00
parent b6bb8a576e
commit e79c9a3618
3 changed files with 16 additions and 16 deletions
@@ -4,7 +4,7 @@ Connected to the target VM
suspendMain.kt:15
Thread stack trace:
CoroutinePreflightFrame invokeSuspend:!LINE_NUMBER!, SuspendMainKt$main$2 (continuation)
($result, this)
($result, $this$coroutineScope, this)
CoroutineInfo: -1 coroutine UNKNOWN
CoroutineStackFrame startUndispatchedOrReturn:!LINE_NUMBER!, UndispatchedKt (kotlinx.coroutines.intrinsics)
($i$a$-undispatchedResult-UndispatchedKt$startUndispatchedOrReturn$2, $i$f$undispatchedResult, $this$startUndispatchedOrReturn, $this$undispatchedResult$iv, block, receiver)