Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 10 15:58:32 PDT 2014


On Sat, 11 Oct 2014 00:49:14 +0200
Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d at puremagic.com>
wrote:

> On 10/10/14 09:45, ketmar via Digitalmars-d wrote:
> > the patch does exactly that: compiler emits deprecation warnings on
> > prefix attributes. nobody plans to break things immediately. ;-)
> It's not the "immediately" I'm worried about, it's the "eventually".
i can't see why we should keep the syntax that nobody likes. this will
just confuse newcomers. that was the argument against adding "@" to
"nothrow" and "pure" (and keeping the old syntax simultaneously). if it
works there, it should work here too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141011/581cd16f/attachment-0001.sig>


More information about the Digitalmars-d mailing list