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
Test::Builder does not handle overloaded "name" values #7433
Comments
From @audreytCreated by autrijus@autrijus.orgThis happens on ithread 5.8.x perls: % perl -Moverload -MTest::Simple=no_plan -e'BEGIN{overload::constant(q=>sub{[]})}ok(1,"x")' This bug manifested in i18n-0.04's tests, which I worked around in i18n-0.05 Somehow the shared %result hash does not like being assigned a {name} Perl Info
|
From @iabynOn Thu, Jul 22, 2004 at 09:12:21PM -0000, Autrijus Tang wrote:
Its simpler than that. You can't store an unshared ref in a shared use threads; outputs Invalid value for shared scalar at /tmp/p line 7. I don't know enough about Test::Builder etc to know whether it Dave. -- |
The RT System itself - Status changed from 'new' to 'open' |
From fergal@esatclear.ieOn Fri, Jul 23, 2004 at 12:05:01AM +0100, Dave Mitchell wrote:
from Test-Simple's Changes file: 0.48_02 Mon Jul 19 02:07:23 EDT 2004 I don't it's the case here but using overloaded objects for the names would F |
From @audreytOn 22 Jul 2004 23:04:53 -0000, Dave Mitchell via RT
Well, overloading q() to return a ref is how i18n.pm works. :-/ I think stringifying $todo and $name is the way to go. Thanks, |
From @audreyt |
From @rgsAutrijus Tang wrote:
Thanks, applied as #23167 to bleadperl, where I've also bumped the |
From @schwernOn Fri, 23 Jul 2004 00:23:39 +0100, Fergal Daly <fergal@esatclear.ie> wrote:
As a common reason to overload operators is to hide the fact that In the cases where they do know its not such a big deal to use the |
From @schwernOn Thu, 22 Jul 2004 20:17:58 -0700, Autrijus Tang <autrijus@gmail.com> wrote:
Does 0.48_02 solve your problem? |
From @rgsMichael G Schwern wrote:
According to : (hey, does everybody have a gmail account those days ?) |
@rgs - Status changed from 'open' to 'resolved' |
From @schwernOn Wed, 28 Jul 2004 12:09:21 +0200, Rafael Garcia-Suarez
In the list of changes completed Look at change 14 And the code change is in Download -> patch (no metadata) |
Migrated from rt.perl.org#30783 (status was 'resolved')
Searchable as RT30783$
The text was updated successfully, but these errors were encountered: