[Issue 3127] 'unreachable code' warning destroys delegate literal type inference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 3 01:09:09 PDT 2009


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





--- Comment #2 from Don <clugdbug at yahoo.com.au>  2009-07-03 01:09:08 PDT ---
>I'm not sure if this is valid, only because DMD treats warnings as errors, and
the code wouldn't compile anyway even if it didn't spit out the bogus
subsequent error.

If it were in the same function, I would agree. But in this case, I can't see
_any_ reason for the error to propagate from one function to an unrelated one.
It's an indication that something's wrong.

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