JVM_IR: Avoid using parent name in name of captures.

If parent is an anonymous object that could lead to the use
of names such as `$this$no name provided` which is invalid
in dex files.
This commit is contained in:
Mads Ager
2020-01-16 16:29:48 +01:00
committed by max-kammerer
parent 9782f6808d
commit 33a24bfd27
3 changed files with 7 additions and 14 deletions
@@ -19,10 +19,5 @@ fun box(): String {
// One instance of each is in kotlin.Metadata.d2
// 1 \(X\)
// JVM_TEMPLATES
// 1 \(Y\)
// JVM_IR_TEMPLATES
// 5 \(Y\)
// 4 \$this\$\(Y\)
// 4 \$this