[Issue 479] New: can't compare arrayliteral statically with string

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Nov 8 07:33:37 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at 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-----



More information about the Digitalmars-d-bugs mailing list