Put $completion parameter to LVT

The parameter, unlike other ones, should span the whole method, since
throughout the whole method it has some value and thus should be
visible.

This effectively rolls bb5a99ec back

 #KT-64309 Fixed
This commit is contained in:
Ilmir Usmanov
2024-02-05 08:35:01 +01:00
committed by Space Team
parent 77c850f0d0
commit f1fd84f539
11 changed files with 174 additions and 141 deletions
@@ -9,5 +9,6 @@ suspend fun test() {
// METHOD : SuspendFunctionDeadVariablesKt.test(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
// VARIABLE : NAME=$completion TYPE=Lkotlin/coroutines/Continuation; INDEX=0
// VARIABLE : NAME=$continuation TYPE=Lkotlin/coroutines/Continuation; INDEX=3
// VARIABLE : NAME=$result TYPE=Ljava/lang/Object; INDEX=2