diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-05-04 19:20:36 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-05-04 19:20:36 +0000 |
commit | 9ff53bc97fe2246e61874ffc409d9e547337a471 (patch) | |
tree | 8be08f39f896db6a42e1d300b8da3922838432dd /op.c | |
parent | 66c611c54494622936416a3e5713bc7d44ef96ba (diff) | |
download | perl-9ff53bc97fe2246e61874ffc409d9e547337a471.tar.gz |
[perl #29340] Bizarre copy of ARRAY
make sure a pad op's flags are updated after optimising away
the assignment in my @a = () (see change 22520).
p4raw-id: //depot/perl@22781
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3130,6 +3130,7 @@ Perl_newASSIGNOP(pTHX_ I32 flags, OP *left, I32 optype, OP *right) && (left->op_private & OPpLVAL_INTRO)) { op_free(right); + left->op_flags &= ~(OPf_REF|OPf_SPECIAL); return left; } curop = list(force_list(left)); |