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

kenji hara k.hara.pg at gmail.com
Wed Apr 11 19:12:56 PDT 2012


Rvalue reference for all kind of literals is not so difficult. It
seems to be required only front-end changes for it.

Kenji Hara

2012年4月12日10:56 Andrei Alexandrescu <andrei at erdani.com>:
> Great. Kenji, do you think you can implement the semantics along the
> lines described in my previous emails?
>
> Thanks,
>
> Andrei
>
> On 4/11/12 8:39 PM, kenji hara wrote:
>> 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
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
> _______________________________________________
> 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