www.digitalmars.com         C & C++   DMDScript  

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


          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"


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

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

Apr 26 2021