This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix undef %Foo:: to update subclasses
authorFather Chrysostomos <sprout@cpan.org>
Sat, 13 Nov 2010 19:19:38 +0000 (11:19 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 13 Nov 2010 19:19:38 +0000 (11:19 -0800)
commitb9e3049212ebaa8a7f488eb927dee6e3d28f569f
tree38820770657b3521af8b47970934a9a40bee7f04
parentf3d2f32d14be3c0a0c8b7228649181b430f8d11a
Fix undef %Foo:: to update subclasses

This is something I think I broke with 80ebaca, which made sure
that isa linearisations were cached on subclasses after calls
to mro_isa_changed_in (so the data could be used to delete
isarev entries).

The result is that hv_undef, which calls mro_isa_changed_in before
deleting everything, was updating the subclasses’ isa caches while its
own @ISA was still visible.
hv.c
t/mro/basic.t