Try blocks are trying

Imperatorn johan_forsberg_86 at hotmail.com
Mon Oct 11 09:23:27 UTC 2021


On Monday, 11 October 2021 at 09:21:48 UTC, FeepingCreature wrote:
> On Monday, 11 October 2021 at 08:55:56 UTC, Imperatorn wrote:
>> In that case you would just declare x outside and do the call 
>> in the try
>
> Thus once again demonstrating that for a language that had a 
> major version change over it, D2 really doesn't care about 
> immutable.

I don't know about that. But it's pretty standard for try to 
introduce a scope.


More information about the Digitalmars-d mailing list