+1 this seems like a great idea. Graeme On Wed, May 18, 2016 at 9:11 AM, Jochen Theodorou <blackd...@gmx.org> wrote: On 18.05.2016 08:46, Peter Ledbrook wrote: > I'm not even sure there's a right answer to this. I guess I would expect > local variables defined outside of the closure to be accessible within > it. Would that work with DELEGATE_ONLY?
yes, static scoping is done by the compiler, before any runtime can fiddle around with redirected calls using the delegation strategy bye Jochen