# New Ticket Created by Ricardo SIGNES # Please include the string: [perl #125182] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125182 >
A buf is supposed to be mutable, but I can't push to it. TimToday++ said this
was incorrect behavior and just NYI.
~$ perl6 -e 'my $b = Buf.new(1,2,3); $b.push(4)'
Cannot call push(Buf: Int); none of these signatures match:
(Any:U \SELF: *@values, *%_)
in block <unit> at -e:1
~$ perl6 -e 'my buf8 $b; $b.push(4)'
Cannot modify an immutable Buf[uint8]
--
rjbs
signature.asc
Description: PGP signature
