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

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.