IR: use names $this/$receiver for receivers in copied static functions

Similarly to the other places in the IR backend (e.g. see
`copyValueParametersToStatic` in the same file).

In JVM IR, these names are used for example for receiver parameters of
methods copied to DefaultImpls classes. Since Java stub code generated
by kapt mentions them, it fixes a few issues in tests on kapt + JVM IR
(KT-49682).
This commit is contained in:
Alexander Udalov
2021-12-09 00:46:36 +01:00
parent f6d3bb5b1b
commit 1df2851611
4 changed files with 72 additions and 5 deletions
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface IntfWithoutDefaultImpls
interface IntfWithDefaultImpls {