Prefix captured variables' names with $
This commit is contained in:
+1
-1
@@ -703,7 +703,7 @@ class LocalDeclarationsLowering(
|
|||||||
val oldNameStr = declaration.name.asString()
|
val oldNameStr = declaration.name.asString()
|
||||||
oldNameStr.substring(1, oldNameStr.length - 1).synthesizedName
|
oldNameStr.substring(1, oldNameStr.length - 1).synthesizedName
|
||||||
} else
|
} else
|
||||||
declaration.name
|
declaration.name.asString().synthesizedName
|
||||||
|
|
||||||
|
|
||||||
private fun collectClosureForLocalDeclarations() {
|
private fun collectClosureForLocalDeclarations() {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
|
|||||||
Reference in New Issue
Block a user