develooper Front page | perl.perl5.porters | Postings from August 2012

[perl #114008] Bleadperl around v5.16.0-150-g5f9f83b breaks LESPEA/Project-Euler-0.20.tar.gz

Thread Next
From:
Father Chrysostomos via RT
Date:
August 17, 2012 14:28
Subject:
[perl #114008] Bleadperl around v5.16.0-150-g5f9f83b breaks LESPEA/Project-Euler-0.20.tar.gz
Message ID:
rt-3.6.HEAD-11172-1345238873-1394.114008-15-0@perl.org
On Sat Jul 14 06:06:14 2012, rgs@consttype.org wrote:
> Do you think the fix is incorrect ?

Yes.

> It actually cleans up a part of
> the overload code that was not symmetrical and sanitizes the semantics
> of overload generation.

But up until now, overloaded assignment operators have not been
symmetrical.  Making them so will break any code that implements them.

From a user’s point of view, I wouldn’t expect to have to deal with $x
+= $my_overloaded_object inside a += override.  Inside a + override
makes sense.  If fallback is 0, then $x += $pluseq_overloaded should die.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=114008

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About