[Issue 11080] assert(`string`) should be forbidden

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 21 04:38:31 PDT 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #4 from bearophile_hugs at eml.cc 2013-09-21 04:38:30 PDT ---
(In reply to comment #3)
> D allows implicit convertion from an array to bool ? It's... strange.

Right, I think this bug report should be closed. The design bug to fix is to
refuse the implicit convertion from a dynamic array to bool (and perhaps there
is already a bug report open on that).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list