summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-10-21 19:10:34 +0100
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:18:32 +0000
commit86cc158350c1bc1d2159ec3dbf01e2800bca07dc (patch)
tree4fe7484be7b99f9c50aada3ef0aa972d036e233b /AUTHORS
parentb28bb06c3ca3128edebf1b46812096d79b69de97 (diff)
downloadperl-86cc158350c1bc1d2159ec3dbf01e2800bca07dc.tar.gz
extend magic copy test to all scope exit types
Commit v5.15.6-387-g6f48390 forced leavesub to copy returned items if they were get-magical. Normally rvalue subs are supposed to return a copy of their return args, but that copy is sometimes skipped if leavesub thinks the side-effects will never be visible. Tied elements was an example where the implementation leaked. However, this applies equally well to other leave types, such as do { ....}, so test for get magic in those too.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions