[Issue 24808] Semicolon expected after traits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 13 09:15:15 UTC 2024


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

Nick Treleaven <nick at geany.org> changed:

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

--- Comment #1 from Nick Treleaven <nick at geany.org> ---
I think the grammar doesn't support that yet:

https://dlang.org/spec/type.html#grammar

QualifiedIdentifier:
...
    Identifier [ AssignExpression ] . QualifiedIdentifier

We would need:

    TraitsExpression [ AssignExpression ] . QualifiedIdentifier

--


More information about the Digitalmars-d-bugs mailing list