Destructuring assignment for structs
Vala already has destructuring assignment for arrays (although this is not stated anywhere)
int[] arr = {1,2,3};
var (i,j) = arr;
assert(i == 1 && j == 2);
Why not allow this for structures as well.
struct Cat{
int a;
int b;
}
void main(){
Cat cat = {1,2};
var (a,b) = cat; // The expression `Cat' does not denote an array
}