Statement is unreachable error

John Colvin john.loughran.colvin at gmail.com
Mon Jun 3 08:21:14 PDT 2013


On Monday, 3 June 2013 at 14:57:13 UTC, Andrej Mitrovic wrote:
> On Monday, 3 June 2013 at 14:53:23 UTC, deadalnix wrote:
>> I reach this error all the time. When debugging for instance, 
>> I may want to stick a throw in the middle of some code
>
> I have the same problem, sometimes for testing purposes (exactly
> for debugging) I'd like to return early or throw, but then I get
> compiler errors.

It would be nice to have a compiler switch that turns off these 
errors.


More information about the Digitalmars-d mailing list