[Issue 4733] Possible bugs caused by dynamic arrays in boolean evaluation context
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 27 02:15:15 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=4733
--- Comment #10 from yebblies <yebblies at gmail.com> 2013-11-27 21:15:07 EST ---
(In reply to comment #8)
> Or simply: use arr.length != 0
That is not the same as `if (arr)`, and I don't want this to make people
accidentally break their code.
--- Comment #11 from yebblies <yebblies at gmail.com> 2013-11-27 21:15:07 EST ---
(In reply to comment #8)
> Or simply: use arr.length != 0
That is not the same as `if (arr)`, and I don't want this to make people
accidentally break their code.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list