-
Notifications
You must be signed in to change notification settings - Fork 578
use overload fallback = 0 doesn't seem to always work #12007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @khwilliamsonThis is a bug report for perl from khw@karl.(none), On 18 March 2012 17:35, Karl Williamson <public@khwilliamson.com> wrote:
argument
On 19 March 2012, Rafael Garcia-Suarez <rgs@consttype.org> wrote: I ohink it's a bug (not limited to &=). This code dies with an error : ~§ cat oand.pl However, insert another form of assignment before the $x+=11 ~§ cat oand.pl You'll also notice that overload, for no clear reason, swaps $x Also, you're hitting one of the very old items in my todo list Flags: Site configuration information for perl 5.15.8: Configured by khw at Mon Mar 19 08:09:43 MDT 2012. Summary of my perl5 (revision 5 version 15 subversion 8) configuration: Locally applied patches: @INC for perl 5.15.8: /home/khw/blead/lib/perl5/site_perl/5.15.8/i686-linux-thread-multi-64int-ld Environment for perl 5.15.8: PATH=/home/khw/bin:/home/khw/print/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/home/khw/cxoffice/bin |
From @rgarciaOn 20 March 2012 02:12, karl williamson <perlbug-followup@perl.org> wrote:
I pushed a fix for this to branch rgs/overload. I strongly think that Here's the commit message. The patch itself is fairly simple. commit 809f751e6a79849f8fa71568def987da0addbe27 Lookup overloaded assignment operators when trying to swap the arguments This is in the case where we search for an overloaded operator when At the very beginning of Perl_amagic_call, if the flag AMGf_noleft is This change only necessitates a minor adjustment in lib/overload.t, |
The RT System itself - Status changed from 'new' to 'open' |
From @rjbs* Rafael Garcia-Suarez <rgs@consttype.org> [2012-03-20T05:59:56]
Thanks, I've added this to early-5.17-stuff. -- |
From @khwilliamsonOn Thu Mar 22 14:49:33 2012, perl.p5p@rjbs.manxome.org wrote:
I have tried testing this by switching to this branch. mktables (which I suppose what could be going on is that an op that previously was Does this seem like a possibility, or can you think of something else |
From @rgarciaOn 9 April 2012 07:00, Karl Williamson via RT <perlbug-followup@perl.org> wrote:
Given that my patch only changes some code inside an if() condition, I |
From @khwilliamsonOn 04/10/2012 08:55 AM, Rafael Garcia-Suarez via RT wrote:
It's completely reproducible on a clean blead. I have found the |
From @khwilliamsonOn 04/10/2012 09:31 AM, Karl Williamson wrote:
It turns out it is entirely my bug. So, once 5.17 opens, I'll submit |
From @rgarciaOn 11 April 2012 06:06, Karl Williamson <public@khwilliamson.com> wrote:
I've committed a small fix to mktables in my branch rgs/overload after http://perl5.git.perl.org/perl.git/log/refs/heads/rgs/overload If it looks good I'm inclined to merge this branch in blead. |
From @khwilliamsonOn 05/22/2012 09:34 AM, Rafael Garcia-Suarez via RT wrote:
I have a local topic branch that includes your overload patch, among I was planning to deliver the topic branch in the next couple weeks. I |
From @rgarciaOn 23 May 2012 05:49, Karl Williamson <public@khwilliamson.com> wrote:
The mktable patch is just a 2-line patch to separate stringification |
From @khwilliamsonOn 05/23/2012 01:05 AM, Rafael Garcia-Suarez wrote:
On further thought, your patch doesn't logically belong in my topic |
From @rgarciaOn 23 May 2012 15:28, Karl Williamson <public@khwilliamson.com> wrote:
OK. I just merged it in blead (after running the tests), now let the |
@rgs - Status changed from 'open' to 'resolved' |
From @cpansproutOn Wed May 23 07:41:07 2012, rgs@consttype.org wrote:
In general, could you try to rebase before merging? It would make the -- Father Chrysostomos |
Migrated from rt.perl.org#111856 (status was 'resolved')
Searchable as RT111856$
The text was updated successfully, but these errors were encountered: