DIP 1002 (TryElseExpression) added to the queue

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 27 21:07:14 PDT 2016


On 9/27/2016 6:22 AM, Steven Schveighoffer wrote:
> Hm... I always thought scope(exit) is lowered to:
>
> try
> {
> }
> finally
> {
>    // scope exit code here
> }
>
> Which one is the building block? ;)

try/catch/finally is the building block, other constructs are lowered to that.



More information about the Digitalmars-d mailing list