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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 2 08:52:35 PDT 2009


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


Jarrett Billingsley <jarrett.billingsley at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jarrett.billingsley at gmail.c
                   |                            |om




--- Comment #1 from Jarrett Billingsley <jarrett.billingsley at gmail.com>  2009-07-02 08:52:35 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.  I've had it spit out dumb semantic errors like this after
other errors, and errors after the first are usually not to be trusted anyway..

It's kind of like how DMD sets the type of invalid expressions to 'int' and
then marches on, giving you all sorts of dumb errors that don't actually mean
anything.

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