Hello,

When I build with the new 0.7.7 compiler I see these sorts of errors:

error: unsupported lvalue in postfix expression

for these sorts of lines:

a[ctr]++;

where a is (for example):

int[] a = new int[3];

The solution seems to be to replace the postfix with the assignment infix
operator:

a[ctr] += 1;

Is this by design?  I'm curious why this change was made.

Thanks,

-- Jim
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to