What's going on here?

Jonathan M Davis jmdavisProg at gmx.com
Sat Jan 11 02:20:54 PST 2014


On Friday, January 10, 2014 07:24:43 monarch_dodra wrote:
> On Friday, 10 January 2014 at 05:34:27 UTC, Andrei Alexandrescu
> 
> wrote:
> > It's a bug in the compiler. Evaluation should proceed as if it
> > were strictly left to right. So test(&size) must be called
> > before size is loaded to construct the slice. Please report.
> > 
> > Andrei
> 
> I remember this conversation popping up repeatedly. *Did* we ever
> make the choice to enforce this? I mean, is this part of the spec
> now? When did it happen? I seem to remember Walter was always
> against it.

Walter has stated that he wanted to, but AFAIK, it never actually became 
official. But knowing how things tend to go around here, even if Walter, 
Andrei, and all of the main devs thought that it was official, it still 
probably wouldn't be in the spec.

- Jonathan M Davis


More information about the Digitalmars-d mailing list