On Thu, 01 Mar 2012 13:07:28 -0800, masak wrote:
> <masak> nom: '' ~~ / :my $a; <{ '$a' }> /
> <p6eval> nom 48af8c: OUTPUT«===SORRY!===␤Variable $a is not
> declared␤at eval_0:1␤»

This works fine now - and has so for a while¹, apparently since a commit² in 
May 2015:

    say '123' ~~ / :my $a=2; <{ '$a' }> /, # '2'

---
[1] https://gist.github.com/Whateverable/1df76358c7486886538f9ead60b13d1f
[2] 
https://github.com/rakudo/rakudo/commit/f0e142b3a24e60f4bdde145286d508b916f3ecde

Reply via email to