scope(failure) compiles but is not called if it inside of block
Denis Feklushkin
feklushkin.denis at gmail.com
Thu Jan 31 20:10:03 UTC 2019
On Thursday, 31 January 2019 at 20:07:32 UTC, Denis Feklushkin
wrote:
> On Thursday, 31 January 2019 at 20:05:31 UTC, Denis Feklushkin
> wrote:
>> code: https://run.dlang.io/is/GgQjfV
>
> Forgot to add a question: it is valid behaviour or some bug?
Ah, scope applies its effect on the block, not on the function.
/Thread
More information about the Digitalmars-d
mailing list