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
Bleadperl v5.19.2-122-g5608dcc breaks ASG/List-Gen-0.974.tar.gz #13795
Comments
From @andkgit bisect commit 5608dcc [perl #3105] Make 1..3 modification safe diagnostics http://www.cpantesters.org/cpan/report/7a2bb4ea-f66c-11e2-a9e3-d7e6f1ff63fb rt.cpan ticket https://rt.cpan.org/Ticket/Display.html?id=95174 perl -V Summary of my perl5 (revision 5 version 19 subversion 3) configuration: Characteristics of this binary (from libperl): |
From @tonycozOn Fri May 02 00:09:57 2014, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote:
If I understand what is going on here, the above patch fixes this bug: 5.14: perl -le 'sub foo { sub { \@_ }->(1..3) } foo()->[1] = 4; print @{foo()}' blead: perl -le 'sub foo { sub { \@_ }->(1..3) } foo()->[1] = 4; print @{foo()}' ie. previously we allowed the caller to modify the result of a constant folded range operator. Note the test immediately following does exactly the same thing, except it uses non-constants for the list, but expects a different result. Here's the tests: { sub & is an alias for sub cap, implemented as: sub cap {\@_} I don't think this is a bug in perl, but fix in perl, which broke a test that expected the strange result we produced previously. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @rjbsClosed as "not a bug in perl." The CPAN ticket is https://rt.cpan.org/Ticket/Display.html?id=95174 -- |
@rjbs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#121784 (status was 'resolved')
Searchable as RT121784$
The text was updated successfully, but these errors were encountered: