Bug 6941 – .stringof displays redundant storage classes

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-11-12T14:51:00Z
Last change time
2011-11-19T14:44:18Z
Keywords
patch
Assigned to
nobody
Creator
timon.gehr

Comments

Comment #0 by timon.gehr — 2011-11-12T14:51:47Z
static assert((const(shared(int[])[])).stringof == "const(shared(int[])[])"); // fail static assert((const(shared(int[])[])).stringof != "const(shared(const(int[]))[])"); // fail I think those two assertions should pass.
Comment #1 by k.hara.pg — 2011-11-19T05:34:54Z
Comment #2 by bearophile_hugs — 2011-11-19T11:15:31Z
Related to bug 6755 ?
Comment #3 by k.hara.pg — 2011-11-19T11:35:44Z
(In reply to comment #2) > Related to bug 6755 ? No, it isn't.
Comment #4 by bugzilla — 2011-11-19T14:44:18Z