[Vala] Vala 0.7.7: unsupported lvalue in postfix expression
- From: Jim Nelson <jim yorba org>
- To: vala-list gnome org
- Subject: [Vala] Vala 0.7.7: unsupported lvalue in postfix expression
- Date: Mon, 28 Sep 2009 10:28:16 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]