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