[Issue 8433] Compiler could warn on static if checks which can't branch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 25 10:51:42 PDT 2012


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2012-07-25 10:51:40 PDT ---
The trouble with a language feature like this is defining it. You'd have to
enumerate the cases that are detected and the cases that are not, which has the
side effect of prohibiting improving it. You don't really want a situation
where code compiles with one compiler and does not with another, even with both
being standard conforming.

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