There's destructuring declarations but is there an...
# getting-started
t
There's destructuring declarations but is there any way to do destructuring assignments?
Copy code
val tup1 = Triple(1, 2, 3)
val tup2 = Triple(4, 5, 6)
var (a, b, c)  = tup1 // this works
(a, b, c) = tup2 // this doesn't work