What's the proper way to use std.getopt?

bauss jj_1337 at live.dk
Wed Dec 13 08:31:16 UTC 2017


On Wednesday, 13 December 2017 at 07:37:17 UTC, Jonathan M Davis 
wrote:
> On Wednesday, December 13, 2017 06:55:46 bauss via 
> Digitalmars-d-learn wrote:
>> [...]
>
> If it works, it's a bug related to code lowering (since scope 
> statements are always lowered to try-catch-finally blocks). 
> You're not supposed to have access to the exception in a scope 
> statement.
>
> - Jonathan M Davis

Yeah that's what I thought.

Just tested and it doesn't allow you to.


More information about the Digitalmars-d-learn mailing list