This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Extend lex alias detection to foreach, too
authorFather Chrysostomos <sprout@cpan.org>
Sat, 11 Oct 2014 04:52:37 +0000 (21:52 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 11 Oct 2014 07:10:20 +0000 (00:10 -0700)
commit6bd144e0f53d840d496d057738446fe34872490b
tree53f6862fcdfbbdc24ec2569721c7546be94dcd77
parent6f5dab3ccdaf1b436dab450fe7216b81ea0269b7
Extend lex alias detection to foreach, too

Now that I have added a mechanism for detecting lexical aliases in
list assignments, we can extend that to foreach, too, to fix another
instance of the list-assignment-after-aliasing bug.
op.c
t/op/for.t