D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2406 - Declarator2 definition error
Summary: Declarator2 definition error
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: x86 All
: P2 normal
Assignee: No Owner
URL:
Keywords: spec
Depends on:
Blocks: 3104
  Show dependency treegraph
 
Reported: 2008-10-09 05:46 UTC by Marcin Wcislo
Modified: 2015-06-09 05:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Marcin Wcislo 2008-10-09 05:46:27 UTC
From "Declarations" in D 2.0 guide:

Declarator2:
    BasicType2 Declarator2
    ( Declarator2 )
    ( Declarator2 ) DeclaratorSuffixes

This definition cannot be correct, as every option in this alternatives includes Declarator2 itself in the definition, resulting in infinite expansion.
Comment 1 Jerry Quinn 2009-12-07 07:11:22 UTC
Before considering D2 done, this and other bugs in the language spec should be fixed.