Support new convention for local variables name mangling: '$receiver' -> '$this$<label>' (KT-26913)

This commit is contained in:
Yan Zhulanow
2018-12-06 15:38:56 +09:00
parent b5f9149702
commit ea462091c4
23 changed files with 100 additions and 61 deletions
@@ -26,7 +26,7 @@ public final class AnnotationsTest {
@Anno(value = "top-level-fun")
public static final void topLevelFun(@org.jetbrains.annotations.NotNull()
@Anno(value = "top-level-fun-receiver")
java.lang.String $receiver) {
java.lang.String $this$topLevelFun) {
}
@Anno(value = "top-level-val")
@@ -35,7 +35,7 @@ public final class AnnotationsTest {
@org.jetbrains.annotations.NotNull()
public static final java.lang.String getTopLevelVal(@Anno(value = "top-level-val-receiver")
int $receiver) {
int $this$topLevelVal) {
return null;
}
}