Bug 4549 – D2 Language Docs: http://www.digitalmars.com/d/2.0/expression.html

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2010-08-01T09:05:00Z
Last change time
2012-01-18T13:53:44Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2010-08-01T09:05:58Z
"Array Literals" In the third example code: writeln(ct); // writes [1 1] writeln(rt); // writes [257] The output is instead: 1 1 1 0 1 0 "is ( Type Identifier )" "is ( Type Identifier : TypeSpecialization )" "is ( Type Identifier == TypeSpecialization , TemplateParameterList )" Replace writefln with writeln in all the code examples.
Comment #1 by andrej.mitrovich — 2011-05-19T20:36:06Z
Literals fixed. writefln doesn't have to be fixed, it works fine. Will make pull request later.
Comment #2 by braddr — 2011-05-19T21:10:43Z
I don't think bugs should be marked resolved until the changes are in the appropriate master repository. There's a lot of things that can happen between a private branch submit and the point of the merge.
Comment #3 by andrej.mitrovich — 2011-05-19T21:12:57Z
Hmm I guess you're right. Ok I'll re-open the rest. Sorry for the mixup!
Comment #4 by andrej.mitrovich — 2012-01-04T09:33:14Z
Comment #5 by andrej.mitrovich — 2012-01-18T13:53:44Z