# New Ticket Created by Moritz Lenz
# Please include the string: [perl #89484]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=89484 >
18:01 < moritz> rakudo: my $x = 5; sub f(Int $y) { $x := 'foo'; say $y
}; f($x); say $x
18:01 <+p6eval> rakudo 8533c3: OUTPUT«foofoo»
18:02 < TimToady> I think rebinding $x makes $x and $y point to
different things
18:02 < pmichaud> I can agree with that
18:03 < pmichaud> Rakudo needs to move to a two-layer system
18:03 < moritz> so output should be 5\nfoo\n, right?
18:03 < TimToady> I believe so
18:03 < pmichaud> $x -> container -> 5
18:03 * moritz submits rakudobug