[Issue 2172] bool add bool accepted?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 27 15:15:30 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2172
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #1 from bugzilla at digitalmars.com 2008-06-27 17:15 -------
bool follows the same integral promotion rules that C has, and this is working
as designed. I also do not understand why the error message is confusing - 2
cannot be implicitly converted to bool, as it says.
--
More information about the Digitalmars-d-bugs
mailing list