This is one of the things the `scope` storage class on local variables can do, but since it isn't implemented properly, it is not memory safe and thus its usage is deprecated.

I really really really want to see scope be fully implemented, including not allowing a reference to the variable to escape the scope, but this is easier said than done.

Reply via email to