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
infix:<xx> keeps containers around since October, resulting in confusing behaviour #6129
Comments
From @zoffixznetOriginal user with the problem: https://irclog.perlgeek.de/perl6/2017-03-06#i_14216611 The issue is code like: <Zoffix> m: my $y = 25; my $z = $y xx 10; say $z; $y = '♥'; say $z; The `$y` container given to `xx` is stuffed into each item in the list, and as a result, updates This is pretty surprising and is very likely unwanted most of the time. bisectable points to an October 2016 commit as the cause: rakudo/rakudo@d192f1c29a The type of the output of `xx` also got changed from a Seq to a List in that commit. <Zoffix> c: d192f1c29a^,d192f1c29a my $y = 25; my $z = $y xx 10; say $z; $y = '♥'; say $z; say $z |
From @zoffixznetA temporary fix has been committed in rakudo/rakudo@5b7b7fb |
From @AlexDanielThis ticket now needs tests, further discussion related issues here: rakudo/rakudo#1607 On 2017-03-08 05:56:13, cpan@zoffix.com wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielTests in Raku/roast@1a42efd On 2018-03-10 10:43:14, alex.jakimenko@gmail.com wrote:
|
@AlexDaniel - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130941 (status was 'resolved')
Searchable as RT130941$
The text was updated successfully, but these errors were encountered: