Re: [Vala] Vala 0.7.7: unsupported lvalue in postfix expression



On Mon, 2009-09-28 at 10:28 -0700, Jim Nelson wrote:
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]++; 

(Sorry Jim, for the dup.  Evolution, me, and the Reply-to-All button do
not get along.)

Smells like a bug to me.  "a[index]++" should work just as "var b =
a[index]; b++; a[index] = b;" does.

I have filed this as bug 596637:
https://bugzilla.gnome.org/show_bug.cgi?id=596637

        --- Mike

-- 
Blog:  http://mike.trausch.us/blog/
Misc. Software:  http://mike.trausch.us/software/

“The greater danger for most of us lies not in setting our aim too
high and falling short; but in setting our aim too low, and achieving
our mark.” —Michelangelo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]