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#131362 (status was 'resolved')
Searchable as RT131362$
The text was updated successfully, but these errors were encountered:
Code: my $x; $x = 50; 42 = $x
Result: Cannot modify an immutable Int in block <unit> at -e line 1
So which one of the assignments actually failed (both are on the same line)?
This bug report is motivated by this thinkperl6 exercise:
� We�ve seen that $n = 42 is legal. What about 42 = $n?
I think a good error message would be �Cannot modify an immutable Int (42)�, or whatever else which includes the value itself.
Sorry, something went wrong.
Fixed in rakudo/rakudo@25d0430
Tests (in rakudo/t) needed.
Tests: rakudo/rakudo@d4ad6fa95326d299942d696c
@zoffixznet - Status changed from 'new' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#131362 (status was 'resolved')
Searchable as RT131362$
The text was updated successfully, but these errors were encountered: