diff options
author | Gerard Goossen <gerard@ggoossen.net> | 2011-08-13 18:38:13 +0200 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-15 20:27:01 -0700 |
commit | 5c906035ffb6b2857a0f941a97ac9e7bb4126275 (patch) | |
tree | 1207023797ece7e334d596be0a38f272bf596734 /t/op/unshift.t | |
parent | c192154b7b5060196110d20f17b18135fa216641 (diff) | |
download | perl-5c906035ffb6b2857a0f941a97ac9e7bb4126275.tar.gz |
Propagate lvalue context only to children of list ops which are not in void context.
Children list ops might be in void context because the list is in scalar
context. A test that discarded elements in a list are not assigned lvalue
context is added.
Children of a list op might also be in void context because they are
special entersub ops for attributes. This patch makes the
OPpENTERSUB_NOMOD flag redundant.
Diffstat (limited to 't/op/unshift.t')
0 files changed, 0 insertions, 0 deletions