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
is rw/copy traits causes assignment/binding confusion #579
Comments
From @moritzRakudo r34428 sub example ($x is rw) { Output is 5, should be 3. A test for the "is copy" version is in Cheers, |
From @moritzOn Mon Jan 05 10:24:13 2009, moritz wrote:
Actually the regression on t/spec/integration/man-or-boy.t which came my @results = 1, 0, -2, 0, 1, 0, 1, -1, -10, -30; Output: The $i in the loop is modified by the call to A(), which shouldn't happen. |
@moritz - Status changed from 'new' to 'open' |
From @bbkrNew issue here: example(3) seems now to be illegal [13:07] <bbkr> rakudo: sub example ($x is rw) { $x = 3; my @a; However it works as expected when passing non-literal param: [13:11] <bbkr> rakudo: sub example ($x is rw) { $x = 3; my @a; |
From @moritzThe 'man or boy' tests now pass again, I consider this sufficient test |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#61982 (status was 'resolved')
Searchable as RT61982$
The text was updated successfully, but these errors were encountered: