This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Account for string eval when const-izing sub(){$x}
authorFather Chrysostomos <sprout@cpan.org>
Tue, 4 Nov 2014 06:18:11 +0000 (22:18 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 13 Nov 2014 12:49:43 +0000 (04:49 -0800)
commit03414f05f41ecc10f644b53e455358ae8125d158
tree4e43886a0a737a67e023c64195858cd14a62a83e
parent7a2b740ab541f1d6fadd7282391ae3fda8c1c3af
Account for string eval when const-izing sub(){$x}

If we have a string eval in the same scope as the variable, it is
potentially in value context.
inline.h
op.c
pad.c
t/op/const-optree.t