We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrated from rt.perl.org#113848 (status was 'resolved')
Searchable as RT113848$
The text was updated successfully, but these errors were encountered:
$ cat error.pl class foo { has $.x; }
my $obj = foo.new;
$obj.x = 42;
$ perl6 error.pl Cannot assign to a readonly variable or a value // needs a line no. here in block <anon> at error.pl:1
$ perl6 --version This is perl6 version 2012.06-14-gdba6e9c built on parrot 4.5.0 revision RELEASE_4_5_0
Sorry, something went wrong.
Thanks for your report. It turned out that the problem was generally with assignment to non-variables, not just to read-only accessors.
Fixed in rakudo/rakudo@1ffd6cf137, and tested in integration/error-reporting.t.
@moritz - Status changed from 'new' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#113848 (status was 'resolved')
Searchable as RT113848$
The text was updated successfully, but these errors were encountered: