[phobos] Time to get ready for the next release
Robert Jacques
sandford at jhu.edu
Thu Apr 21 12:49:36 PDT 2011
On Thu, 21 Apr 2011 15:19:26 -0400, Michel Fortin
<michel.fortin at michelf.com> wrote:
> Le 2011-04-21 à 14:00, Robert Jacques a écrit :
>
>> On Thu, 21 Apr 2011 09:24:39 -0400, Michel Fortin
>> <michel.fortin at michelf.com> wrote:
>>
>>> Le 2011-04-21 à 6:48, Torarin a écrit :
>>>
>>>> Dmd has a bug that causes the @property attribute to be disregarded in
>>>> functions that return auto.
>>>
>>> Indeed. I think I have a fix for that in the "@property" branch of my
>>> DMD fork on github. Perhaps I should make a pull request from that.
>>>
>>> Actually, I could make a pull request for the entire "@property"
>>> branch, it shouldn't impact things much as enforcement of @property is
>>> only done if you add the command line switch -property. Would that
>>> make sense?
>>
>> Michel, does your patch also include fixes/additions to __traits and
>> std.traits
>
> No. It just adds @property enforcement and fix two issues with auto
> return types so that I could make druntime and most of Phobos compile.
> Look at those five commits:
> <https://github.com/michelf/dmd/compare/fb2a0...%40property>
>
Understood. I'd recommend adding something like __traits(isProperty,
C.bar) to the todo list though.
More information about the phobos
mailing list