From e43fd713efc3228e61a989715d81e29426b6aac6 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Mon, 25 Feb 2019 14:37:25 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20new=20compiler=20tests=20(new=20receiver?= =?UTF-8?q?=20name=20mangling=20=E2=80=93=20$this$label)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../completionInSuspendFunction/staticSimpleReceiver.kt | 2 +- .../completionInSuspendFunction/staticStateMachineReceiver.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimpleReceiver.kt b/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimpleReceiver.kt index 82ca6f58225..87a1367a1e0 100644 --- a/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimpleReceiver.kt +++ b/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticSimpleReceiver.kt @@ -6,5 +6,5 @@ class A suspend fun A.foo() {} // METHOD : StaticSimpleReceiverKt.foo(LA;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; -// VARIABLE : NAME=$receiver TYPE=LA; INDEX=0 +// VARIABLE : NAME=$this$foo TYPE=LA; INDEX=0 // VARIABLE : NAME=$completion TYPE=Lkotlin/coroutines/Continuation; INDEX=1 \ No newline at end of file diff --git a/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticStateMachineReceiver.kt b/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticStateMachineReceiver.kt index e8ae813e3a4..27005028ea3 100644 --- a/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticStateMachineReceiver.kt +++ b/compiler/testData/checkLocalVariablesTable/completionInSuspendFunction/staticStateMachineReceiver.kt @@ -10,7 +10,7 @@ suspend fun A.foo1(l: Long) { } // METHOD : StaticStateMachineReceiverKt.foo1(LA;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; -// VARIABLE : NAME=$receiver TYPE=LA; INDEX=0 +// 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=5 \ No newline at end of file