March 11, 2008 [Issue 1905] New: foreach docs inconsistency | ||||
---|---|---|---|---|
| ||||
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. -- |
May 11, 2008 [Issue 1905] foreach docs inconsistency | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1905 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2008-05-11 04:14 ------- Fixed dmd 1.029 and 2.013 -- |
Copyright © 1999-2021 by the D Language Foundation