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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 21 14:55:16 PDT 2013


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



--- Comment #20 from bearophile_hugs at eml.cc 2013-09-21 14:55:15 PDT ---
(In reply to comment #19)

> Thanks for raising the problem, but this one is a separate issue.

It's a separate issue, but if you disallow dynamic arrays in boolean evaluation
contexts, then it also disallows code like assert("something going wrong") and
you don't need to add a special rule to D for such buggy case.

-- 
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