[dmd-internals] [D-Programming-Language/dmd] 2958fb: struct literals are lvalues again

Jonathan M Davis jmdavisProg at gmx.com
Wed Apr 11 15:18:48 PDT 2012


On Wednesday, April 11, 2012 15:09:43 GitHub wrote:
> Branch: refs/heads/master
> Home: https://github.com/D-Programming-Language/dmd
> Commit: 2958fba6fe67459e049d2f838483bdb881ad186a
> 
> https://github.com/D-Programming-Language/dmd/commit/2958fba6fe67459e049d2f
> 838483bdb881ad186a Author: Walter Bright <walter at walterbright.com>
> Date: 2012-04-11 (Wed, 11 Apr 2012)
> 
> Changed paths:
> M src/expression.c
> M src/expression.h
> M test/runnable/structlit.d
> 
> Log Message:
> -----------
> struct literals are lvalues again

With the proposed changes to ref, I don't know how much this matters, but it 
still strikes me as ridiculous that a literal or temporary of any kind would 
be an lvalue.

- Jonathan M Davis


More information about the dmd-internals mailing list