Thread overview
[Issue 6941] New: .stringof displays redundant storage classes
Nov 12, 2011
timon.gehr@gmx.ch
Nov 19, 2011
Kenji Hara
Nov 19, 2011
Kenji Hara
Nov 19, 2011
Walter Bright
November 12, 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@puremagic.com
        ReportedBy: timon.gehr@gmx.ch


--- Comment #0 from timon.gehr@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: -------
November 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6941


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-11-19 05:34:54 PST ---
https://github.com/D-Programming-Language/dmd/pull/515

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6941


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #2 from bearophile_hugs@eml.cc 2011-11-19 11:15:31 PST ---
Related to bug 6755 ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6941



--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2011-11-19 11:35:44 PST ---
(In reply to comment #2)
> Related to bug 6755 ?

No, it isn't.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6941


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2011-11-19 14:44:18 PST ---
https://github.com/D-Programming-Language/dmd/commit/fbe3325a5bdfbaa7d569d40c537307065b509a31

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------