This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix two local *ISA bugs
authorFather Chrysostomos <sprout@cpan.org>
Wed, 28 Nov 2012 21:46:07 +0000 (13:46 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 29 Nov 2012 17:11:31 +0000 (09:11 -0800)
commit3d460042b1251a4b5e3b583fa6be358554dd3bcc
treeb030f3a2e7d42864f23b1fb1ca7c78e5da7dc1b9
parent959f7ad7c12f768f896b4dd48b5b7f41b6b087b5
Fix two local *ISA bugs

These are regressions from 5.8.

local *ISA was not updating isa caches. local *ISA = [] was updating
caches, but scope unwinding was not.

Both save_gp and leave_scope/SAVEt_GP need to check whether the glob
is named ISA and call mro_isa_changed_in if appropriate.
scope.c
t/mro/basic.t