5841 – alias grammar is incorrect

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5841 - alias grammar is incorrect
Summary: alias grammar is incorrect
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: Other Linux
: P2 minor
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
Reported: 2011年04月13日 06:28 UTC by Bernard Helyer
Modified: 2012年01月20日 21:55 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Bernard Helyer 2011年04月13日 06:28:56 UTC
http://www.digitalmars.com/d/2.0/declaration.html
Declares alias as such:
 alias Decl
where Decl includes:
 BasicType Declarator FunctionBody
and declarators with empty parameter lists. None of these are parsed by DMD.
I understand that it's probably to keep it simple, but still.


AltStyle によって変換されたページ (->オリジナル) /