Unreachable statement, do or do not, there is no try

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 10 12:36:50 PST 2015


On 2/9/2015 11:07 PM, deadalnix wrote:
> On Tuesday, 10 February 2015 at 07:01:18 UTC, Jacob Carlborg wrote:
>> DMD will complain about the second example if warnings are enabled.
>
> Ok I think that answer the question.

The thing is, you can still catch an Object, so catching Exception won't quite 
catch them all.


More information about the Digitalmars-d mailing list