[Issue 10205] New: 'deprecated' '(' assignExpression ')' grammar is not documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 29 11:01:13 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10205

           Summary: 'deprecated' '(' assignExpression ')' grammar is not
                    documented
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: brian-schott at cox.net


--- Comment #0 from brian-schott at cox.net 2013-05-29 11:01:12 PDT ---
The syntax for providing a message with the deprecated attribute is not
documented on dlang.org. It is also not specified if this is valid when
deprecated is used as a storage class.

http://dlang.org/attribute.html#deprecated

The correct syntax seems to be (in ANTLR grammar form):

deprecated: 'deprecated' ('(' assignExpression ')')?
    ;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list