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
bless to a string ending :: interferes with ISA lookup after typeglob aliasing #11244
Comments
From @nwc10Created by @nwc10$ cat package_corner_case.pl my $tail = shift; @left::ISA = "outer::$tail"; *clone:: = *outer:: ; eval "package outer::$tail; 1" or die $@; print "ok 1", "\n" if left->isa("clone::$tail"); print "ok 3", "\n" if right->isa("clone::$tail"); __END__ Very obscure, admittedly, and probably not anything anyone is relying on, I don't think that the right fix is "simply to *copy*" the logic for Nicholas Clark Perl Info
|
From @cpansproutOn Sat Apr 09 03:59:05 2011, nicholas wrote:
That looks awfully familiar. :-)
I’ve been trying hard to fix all regressions introduced since 5.8.8.
Changing the parsing seems the sanest approach. I think changing name_cursor++; to name = name_cursor + 1; would work. But I need a day or three to think it through. We might instead be able simply to add the name to the stash later in |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Sun Apr 10 21:55:11 2011, sprout wrote:
I forgot to add: Since this is such an obscure case, I think fixing it |
From @obraOn Sun, Apr 10, 2011 at 09:55:12PM -0700, Father Chrysostomos via RT wrote:
I'm not sure we'll get all the way to _that_ lofty goal for 5.14, but
-- |
From @cpansproutOn Sun Apr 10 21:55:11 2011, sprout wrote:
That seemed the best approach, except it required a tweak to the I’ve just applied my change as commit 088225f. |
@cpansprout - Status changed from 'open' to 'resolved' |
From @nwc10On Sun, Apr 10, 2011 at 09:55:12PM -0700, Father Chrysostomos via RT wrote:
Yes, although I did wonder why you'd only output 2 of the 4 possible
That was my roughly thought on the way to go.
On Wed, Apr 13, 2011 at 09:51:00AM -0700, Father Chrysostomos via RT wrote:
but I didn't know that part. As you note in 088225f's commit message, it will also change the Is it documented anywhere how the package names in package a::::::b; are to be parsed? and everyone who replied stated that there wasn't. Nicholas Clark |
From @cpansproutOn Wed Apr 13 09:50:59 2011, sprout wrote:
That proved to be insufficient, as the regression still existed in some Since it was intertwined with the bug that has been making RDF::Trine |
Migrated from rt.perl.org#88132 (status was 'resolved')
Searchable as RT88132$
The text was updated successfully, but these errors were encountered: