[Issue 3927] array.length++; is an error, but ++array.length compiles
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 1 04:27:32 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3927
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |clugdbug at yahoo.com.au
Summary|array.length++; is an error |array.length++; is an
| |error, but ++array.length
| |compiles
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-02-01 04:27:31 PST ---
++array.length;
compiles. The bizarre error is because of the lowering that the compiler uses
internally.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list