Chained Catch Statements

bearophile bearophileHUGS at
Mon Jan 30 18:00:51 PST 2012

Jonathan M Davis:

> I do think that having the compiler complain when one catch block hides
> another makes a lot of sense, but I think that that's as far as it should
> go. It's the programmer's job to fix their code, not the compiler's.

I agree. Do we create a new diagnostic enhancement request then?


More information about the Digitalmars-d-learn mailing list