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

kenji hara k.hara.pg at gmail.com
Wed Apr 11 20:44:09 PDT 2012


Posted to implement right "rvalue reference" for D.
https://github.com/D-Programming-Language/dmd/pull/874

It supports only struct literals, doesn't others. But I think it is
enough for 2.059 release.

Kenji Hara

2012年4月12日10:39 kenji hara <k.hara.pg at gmail.com>:
> I think this is too straightforward change.
> I believe that druntime and phobos are broken silently with this.
>
> I'm trying to implement rvalue struct literal that can receives with ref.
> It does not seem so difficult.
> Please wait the release a moment.
>
> Kenji Hara
>
> 2012年4月12日7:09 GitHub <noreply at github.com>:
>>  Branch: refs/heads/master
>>  Home:   https://github.com/D-Programming-Language/dmd
>>  Commit: 2958fba6fe67459e049d2f838483bdb881ad186a
>>      https://github.com/D-Programming-Language/dmd/commit/2958fba6fe67459e049d2f838483bdb881ad186a
>>  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
>>
>>
>>
>>
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals


More information about the dmd-internals mailing list