KT-8442 related: destructuring declarations aren't taken into account during light classes generation, fixes EA-81204

This commit is contained in:
Mikhail Glukhikh
2016-10-24 16:47:45 +03:00
parent b7e8071a7d
commit e7e56ab85c
7 changed files with 47 additions and 4 deletions
@@ -0,0 +1,7 @@
// TopLevelDestructuringKt
data class Pair(val x: Int, val y: Int)
val (x, y) = Pair(1, 2)
val z = 3