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
$ perl6 -e 'class Foo { has @.things is rw }; my $o := Foo.new; dd $o.things += <a b c>'
Cannot assign to an immutable value
in block <unit> at -e line 1
$ perl6 --optimize=off -e 'class Foo { has @.things is rw }; my $o := Foo.new; dd $o.things += <a b c>'
Array @!things = [3]
$ perl6 -v
This is Rakudo version 2018.05-54-g148d7c5 built on MoarVM version 2018.05-57-g89dee3b
implementing Perl 6.c.
The text was updated successfully, but these errors were encountered:
Fixes R#1987 #1987
Fixes R#1989 #1989Fixes#1981 R#1981
For opts: mark applicable METAOP constructs, so that when we
get to optimize nested chains, we can see that these are fine
to optimize further.
For bugs: swap `assign` to `p6store` op in the opt which both
handles arrays/hashes correctly and throws better RO exceptions
The text was updated successfully, but these errors were encountered: