Bug 5414 – Language Reference errors

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-01-05T09:05:00Z
Last change time
2012-01-20T15:05:23Z
Assigned to
nobody
Creator
eatingstaples

Comments

Comment #0 by eatingstaples — 2011-01-05T09:05:02Z
The "Language Reference" section of the D2.0 site is outdated in some parts, leading to some confusing mistakes. The part on local variables in functions has some outdated material, as well as the part on foreach, where the code uses differently-named functions from those listed in the table above. These are the two examples I remember, but I may have stumbled across a few others which I've forgotten.
Comment #1 by bugzilla — 2012-01-20T15:05:23Z
I don't see anything wrong with http://dlang.org/statement.html#ForeachStatement Please reopen with specifics if I missed something. I'm afraid that more specific information is needed than "outdated in some parts" for this to be an action item we can deal with.