[Test] Port checkVariableTable suspend lambda tests
Reveals discrepancy in LVT presence on lambda implementations on the
old and new backend.
The generated code in the constructors of Suspend Lambda objects is
identical, but the IR backend generates an LVT with the constructor
parameters.
The user has to be very insistent to see this ("for step into" +
disabling "Show only kotlin variables"), but it is an observable
difference.
This commit is contained in:
committed by
Alexander Udalov
parent
82abc80215
commit
77836f1aa9
@@ -0,0 +1,8 @@
|
||||
|
||||
// WITH_COROUTINES
|
||||
// FILE: test.kt
|
||||
suspend fun box() {}
|
||||
|
||||
|
||||
// LOCAL VARIABLES
|
||||
// test.kt:4 box: $completion:kotlin.coroutines.Continuation=helpers.ResultContinuation
|
||||
Reference in New Issue
Block a user