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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 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: -------