You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> r: macro foo { quasi { my &bar = { say "OH HAI" }; bar } }; foo
<p6eval> rakudo 64208d: OUTPUT«===SORRY!===CHECK FAILED:Undefined
routine '&bar' called (line 1)»
<masak> r: macro foo { quasi { my &bar = { say "OH HAI" }; &bar() } }; foo
<p6eval> rakudo 64208d: OUTPUT«Cannot assign into a PMCNULL container [...]
* masak submits rakudobug
<masak> none of this is surprising, of course, since we already know
assignments to locally declared variables don't work properly in quasi
blocks.
<masak> r: macro foo { quasi { my $bar = "OH HAI"; say $bar } }; foo
<p6eval> rakudo 64208d: OUTPUT«Cannot assign into a PMCNULL container [...]
<masak> r: macro foo { quasi { my $bar; say $bar } }; foo
<p6eval> rakudo 64208d: OUTPUT«Mu()»
Migrated from rt.perl.org#115594 (status was 'stalled')
Searchable as RT115594$
The text was updated successfully, but these errors were encountered: