New issue
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
No runtime warning when list-assigning to readonly things in Rakudo #1736
Comments
From @masak<moritz_> rakudo: sub swap($a is rw, $b is rw) { ($a, $b) = ($b, $a) |
From @markjreedHuh? Those are explicitly read-write. Why is it dying at all? On Sat, May 1, 2010 at 9:17 AM, Carl Mäsak <perl6-bugs-followup@perl.org>wrote:
-- |
The RT System itself - Status changed from 'new' to 'open' |
From @masakCarl (>>), Mark (>):
We're passing in 3 and 4, which are constants. The parameters $a and $b are indeed marked as |
From @moritzAm 03.05.2010 12:30, schrieb Mark J. Reed:
Yes. I think masak++ picked up the wrong lines from p6eval: <@moritz_> rakudo: sub swap($a, $b) { ($a, $b) = ($b, $a) }; swap my $z *this* should die.
|
From @cokeOn Mon May 03 04:20:44 2010, moritz wrote:
And now it does: $ ./perl6 foo -e 'sub swap($a, $b) { ($a, $b) = ($b, $a) }; swap my $z = 2, my $y = 5;' tests needed. -- |
From @moritzNow tested in t/spec/S06-traits/is-rw.t. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#74820 (status was 'resolved')
Searchable as RT74820$
The text was updated successfully, but these errors were encountered: