Change mangling for destructured lambda parameters

This commit is contained in:
Yan Zhulanow
2019-01-09 15:58:52 +03:00
parent d2c2a6c99f
commit 47f0b68a8c
19 changed files with 213 additions and 45 deletions
@@ -0,0 +1,17 @@
// LOCAL_VARIABLE_TABLE
fun foo() {
t { (`a b`, `b$c`, `c-d`, `b$$c--d`, `a()§&*&^@あ化`) -> }
}
private fun t(block: (Arr) -> Unit) {
block(Arr())
}
private data class Arr(
val a1: Int = 0,
val a2: Int = 0,
val a3: Int = 0,
val a4: Int = 0,
val a5: Int = 0
)