[Issue 15563] synchronized can't be used as a postfix qualifier

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 27 20:25:56 UTC 2023


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #3 from Nick Treleaven <nick at geany.org> ---
So should storage classes which only apply to functions be added to
FunctionAttributeKwd? 

    abstract
    final
    override
    synchronized

It seems inconsistent only to allow nothrow and pure as postfix. OTOH perhaps
function attribute keywords should be allowed as @attributes, then they would
be supported already as postfix.

--


More information about the Digitalmars-d-bugs mailing list