www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 479] New: can't compare arrayliteral statically with string

reply d-bugmail puremagic.com writes:
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");


-- 
Nov 03 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFFUfGULK5blCcjpWoRAh9gAJ4yT09Wh/H5O9xjAWmJi0AYOC6fzwCgrkRm Q0YNS4EAhRE5DUt9zoPGX7A= =g+6h -----END PGP SIGNATURE-----
Nov 08 2006
prev sibling parent d-bugmail puremagic.com writes:
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


-- 
Oct 20 2007