digitalmars.D.bugs - [Issue 1905] New: foreach docs inconsistency
- d-bugmail puremagic.com (21/21) Mar 11 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1905
- d-bugmail puremagic.com (9/9) May 11 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1905
http://d.puremagic.com/issues/show_bug.cgi?id=1905
Summary: foreach docs inconsistency
Product: D
Version: unspecified
Platform: PC
URL: http://www.digitalmars.com/d/2.0/statement.html#ForeachS
tatement
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: www.digitalmars.com
AssignedTo: bugzilla digitalmars.com
ReportedBy: jlquinn optonline.net
In the docs on the website for foreach, the grammar is specified as follows:
ForeachStatement:
Foreach (ForeachTypeList; Aggregate) ScopeStatement
However, the text refers to NoScopeNonEmptyStatement, for example:
The aggregate must be loop invariant, meaning that elements to the aggregate
cannot be added or removed from it in the NoScopeNonEmptyStatement.
--
Mar 11 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1905
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed dmd 1.029 and 2.013
--
May 11 2008








d-bugmail puremagic.com