DIP 1002 (TryElseExpression) added to the queue
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 28 00:26:44 PDT 2016
On 9/27/2016 11:50 PM, John Colvin wrote:
> That's not the same. Exceptions thrown in the success block can be caught by the
> catch. That scope (success) block is equivalent to just putting its contents
> immediately after do_something().
Yeah, you're right. I should have tested it. A flag will fix it :-)
More information about the Digitalmars-d
mailing list