www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21865] New: Grammar has no rule for Traits

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 puremagic.com
          Reporter: kroeplin.d 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.)

--
Apr 26