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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 23 21:30:56 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12931

--- Comment #10 from Kenji Hara <k.hara.pg at gmail.com> ---
I'm preparing to be able to do this from a while ago.

One of my tries to merge prefix storage classes and prefix attributes in
grammar:
https://github.com/D-Programming-Language/dlang.org/pull/489

Handle prefix attributes in DeclDefs scope:
https://github.com/D-Programming-Language/dmd/pull/2924

Add 'PrefixAttributes' structure in parser:
https://github.com/D-Programming-Language/dmd/pull/3676

Detect function attribute conflicting between prefix and postfix:
https://github.com/D-Programming-Language/dmd/pull/3689

--


More information about the Digitalmars-d-bugs mailing list