[Issue 6941] New: .stringof displays redundant storage classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 12 14:52:29 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6941
Summary: .stringof displays redundant storage classes
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2011-11-12 14:51:47 PST ---
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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list