[Issue 21865] New: Grammar has no rule for Traits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 26 07:44:47 UTC 2021


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

          Issue ID: 21865
           Summary: Grammar has no rule for Traits
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: kroeplin.d at googlemail.com

https://dlang.org/spec/grammar.html shows in "3.4 Types"

    BasicType:
        Traits

but the link on Traits does not work because there is no grammar rule with
Traits on the left-hand side.

Consider removing Traits in
https://github.com/dlang/dlang.org/blob/master/spec/type.dd

(TraitsExpression is used in "3.7 Expressions" and defined in "3.17 Traits". No
idea, what a Traits type should be.)

--


More information about the Digitalmars-d-bugs mailing list