This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123763] pushre needs to permit OPpTARGET_MY
authorHugo van der Sanden <hv@crypt.org>
Sun, 1 Mar 2015 02:58:58 +0000 (18:58 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 1 Mar 2015 02:58:58 +0000 (18:58 -0800)
commit26f4cc19a2cf5dc32334b22cd7f719a3bb577497
treed5ff79f53f08d55588f0de76d415b8a504d5d9b9
parent479ae48e22f1160cf86508685822bf7e53e5816b
[perl #123763] pushre needs to permit OPpTARGET_MY

This case fails an assertion:

my($_);0=split

because a pushre op is not expected to have that flag.  A pushre op
starts out as a match op (which may indeed have the flag set), as is
subsequently converted to a pushre op.

[The commit message was written by the committer.]
lib/B/Op_private.pm
opcode.h
regen/op_private