This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[MERGE] various overload fixups
authorDavid Mitchell <davem@iabyn.com>
Tue, 5 Feb 2019 14:04:32 +0000 (14:04 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 5 Feb 2019 14:04:32 +0000 (14:04 +0000)
commit9730c47616258ce7e7ec58cb5e16a1800bb5099b
treed438e31c4fdfa0b4a01e34bf704f992dba2f49f2
parent35c1827fadfaf0a26b8d1373f06ee242ee79c111
parent4e521aaf3ed717774455b3906bd5aa46bc397319
[MERGE] various overload fixups

This branch contains several commits which simplify the code concerning
the processing of a value returned by an overload method, and
specifically whether that value should be returned as-is by the op, or
assigned to the targ / stack value: $lex = x op y) and (x op= y)
respectively.

The final commit fixes a bug in pp_multiconcat. That op bypasses most of
the code in those earlier commits and "rolls it's own", and which was
getting the set/assign decision wrong in some cases, causing a leak.