accept @pure @nothrow @return attributes
via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 28 09:47:23 PST 2015
On Wednesday, 28 January 2015 at 17:41:54 UTC, Jonathan Marler
wrote:
> I have proposed a way that I think is a win win. Add support
> for non-keyword function attributes on the right hand side of a
> function signature. This will not break any code since it does
> not require removing support for using '@' for function
> attributes. Then later we can deprecate support for the '@'
> character if we feel like it's worth breaking code.
I agree. This would also be a nice way to introduce dfix. And
while we're at it, we can also move `const` etc. applying to the
implicit `this` to the right side, too, so that this falltrap
goes away, too.
More information about the Digitalmars-d
mailing list