Prefix captured variables' names with $

This commit is contained in:
pyos
2019-05-22 11:02:47 +02:00
committed by max-kammerer
parent ba390202c8
commit e7dd41743f
2 changed files with 1 additions and 2 deletions
@@ -703,7 +703,7 @@ class LocalDeclarationsLowering(
val oldNameStr = declaration.name.asString()
oldNameStr.substring(1, oldNameStr.length - 1).synthesizedName
} else
declaration.name
declaration.name.asString().synthesizedName
private fun collectClosureForLocalDeclarations() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME