On 09/03/17 20:38, jn...@jnthn.net via RT wrote:
> On Thu, 09 Mar 2017 07:39:39 -0800, elizabeth wrote:
>> But I’ll settle for a warning / exceptione :-)
> I think these options are worth consideration. I can't think of a false 
> positive off hand.

class Test { method tester { say "testest" } }

# warning: you're not allowed to close over variable &say!

is there a sane heuristic for this? "does it have a & sigil" isn't sane,
IMO, and neither is "does it come from the core setting?".

Reply via email to