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
*ISA glob assignment may break inheritance cache #14411
Comments
From @dur-randirThe following two snippets result in 'Can't locate object method "foo" via package "G"' error, though they must succeed instead: *F::foo = sub {}; =========== *F::foo = sub {}; The reason for this is that in glob_assign_glob and gv_setref only PERL_MAGIC_isa magic is assigned to the AV slot, but nothing to it's content. And PERL_MAGIC_isa -> PERL_MAGIC_isaelem propagation occurs only upon array write access, and not for individual elements' r/w access. |
From @iabynOn Sun, Jan 11, 2015 at 08:19:33AM -0800, Sergey Aleynikov wrote:
The first one was fixed by this: commit 8452c1a [perl #127351] add isaelem magic on *Foo::ISA = arrayref The second one still fails in blead. -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#123585 (status was 'open')
Searchable as RT123585$
The text was updated successfully, but these errors were encountered: