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: nob...@puremagic.com
        ReportedBy: timon.g...@gmx.ch


--- Comment #0 from timon.g...@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: -------

Reply via email to