Should scope(exit) be valid outside of a scope?

Jesse Phillips jessekphillips+D at gmail.com
Tue May 11 17:58:29 PDT 2010


Don wrote:

> If the scope(exit) isn't in a compound statement (ie, if it isn't inside 
> {}), the 'scope' applies only to the statement itself, so that's 

...

> Can we just make it illegal?

I don't see a reason to allow it. I vote error.



More information about the Digitalmars-d mailing list