Thread overview
[Issue 479] New: can't compare arrayliteral statically with string
Nov 04, 2006
d-bugmail
Nov 08, 2006
Thomas Kuehne
Oct 20, 2007
d-bugmail
November 04, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=479

           Summary: can't compare arrayliteral statically with string
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: lovesyao@hotmail.com


don't work:
static assert(['a','b','c','d']=="abcd");


-- 

November 08, 2006
d-bugmail@puremagic.com schrieb am 2006-11-04:
> http://d.puremagic.com/issues/show_bug.cgi?id=479

> don't work:
> static assert(['a','b','c','d']=="abcd");

Added to DStress as http://dstress.kuehne.cn/compile/o/opEquals_06_A.d http://dstress.kuehne.cn/compile/o/opEquals_06_B.d http://dstress.kuehne.cn/compile/o/opEquals_06_C.d http://dstress.kuehne.cn/compile/o/opEquals_06_D.d http://dstress.kuehne.cn/compile/o/opEquals_06_E.d http://dstress.kuehne.cn/compile/o/opEquals_06_F.d http://dstress.kuehne.cn/compile/o/opEquals_06_G.d http://dstress.kuehne.cn/compile/o/opEquals_06_H.d

Thomas


October 20, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=479


braddr@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from braddr@puremagic.com  2007-10-20 03:40 -------
Fixed in 1.022/2.005


--