f1fd84f539
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
15 lines
406 B
Kotlin
Vendored
15 lines
406 B
Kotlin
Vendored
// WITH_STDLIB
|
|
|
|
suspend fun dummy() {}
|
|
|
|
suspend fun test() {
|
|
dummy()
|
|
val a = 0
|
|
}
|
|
|
|
// 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
|