mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
in case of suspend functions and `this` is case of lambdas, since they are used in async stack trace generation. Update tests. #KT-40661 Open
17 lines
518 B
Kotlin
Vendored
17 lines
518 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class A
|
|
|
|
suspend fun A.foo() {}
|
|
suspend fun A.foo1(l: Long) {
|
|
foo()
|
|
foo()
|
|
val dead = l
|
|
}
|
|
|
|
// METHOD : StaticStateMachineReceiverKt.foo1(LA;JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
|
// VARIABLE : NAME=$this$foo1 TYPE=LA; INDEX=0
|
|
// VARIABLE : NAME=l TYPE=J INDEX=1
|
|
// VARIABLE : NAME=$completion TYPE=Lkotlin/coroutines/Continuation; INDEX=3
|
|
// VARIABLE : NAME=$continuation TYPE=Lkotlin/coroutines/Continuation; INDEX=7
|
|
// VARIABLE : NAME=$result TYPE=Ljava/lang/Object; INDEX=6 |