[Issue 1624] test of bool doesn't hold always

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 29 03:51:40 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1624


bugzilla at digitalmars.com changed:

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




------- Comment #1 from bugzilla at digitalmars.com  2007-10-29 05:51 -------
The only valid values for a bool are true and false. In the example, a union is
used to set bool to an invalid value, hence the subsequent operations on that
bool do not produce the expected results.

The code is incorrect, not the compiler.


-- 



More information about the Digitalmars-d-bugs mailing list