Expression evaluation order
Johannes Pfau
nospam at example.com
Fri Jun 14 14:31:04 PDT 2013
Am Fri, 14 Jun 2013 01:09:18 +0200
schrieb "David Nadlinger" <code at klickverbot.at>:
> There is a test in the DMD testsuite that verifies that the
> evaluation order in the following statement
>
> a()[] = b()[] + c()[];
>
> is b, c, a.
>
> I'm trying to figure out why this regressed with the 2.063 merge
> in LDC, but (where) is this specified in the first place?
>
> David
Related old discussions:
http://bugzilla.gdcproject.org/show_bug.cgi?id=8
http://forum.dlang.org/thread/bniaxycuguviwfdtojzf@forum.dlang.org
(I knew we discussed this before ;-)
More information about the Digitalmars-d
mailing list