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> rakudo: sub foo(@a is copy) { @a ||= -1, -1, +1, +1; say @a };
foo([1,2,3,4]); say "alive"
<p6eval> rakudo 188755: OUTPUT«alive»
* masak submits rakudobug
<masak> jnthn: I'm expecting &foo to output something.
<jnthn> er, yeah, me too. :/
<jnthn> is it the is copy?
<masak> this feels familiar...
* masak czechs
<masak> I might have been remembering http://rt.perl.org/rt3/Ticket/Display.html?id=74430
<jnthn> looks related.
<masak> yeah.
<masak> this goes in too, though.
<jnthn> Please add a ref to the other ticket.
<masak> sure thing :)
<jnthn> rakudo: sub foo(@a) { say PARROT(@a) }; sub bar(@a is copy) {
say PARROT(@a) }; foo([1,2]); bar([1,2])
<p6eval> rakudo 188755: OUTPUT«ObjectRef->ObjectRef->ArrayArray»
<jnthn> FAIL
Migrated from rt.perl.org#82810 (status was 'resolved')
Searchable as RT82810$
The text was updated successfully, but these errors were encountered: