fix DEMOLISH methods not being called in some cases
authorJesse Luehrs <doy@tozt.net>
Sun, 7 Mar 2010 08:10:07 +0000 (02:10 -0600)
committerJesse Luehrs <doy@tozt.net>
Sun, 7 Mar 2010 08:10:07 +0000 (02:10 -0600)
commit258181213ac82cfd982078558df96f412ed5fb84
treed39d6ccacf0e58212116af6d2d04429cbadfa526
parent1aae641cb791e8160b5e6c8d7169460fbf31c9e6
fix DEMOLISH methods not being called in some cases

in particular, defining a DEMOLISH method in a mutable subclass of an
immutable class wouldn't work properly, since the inlined DESTROY method
didn't include proper fallbacks
Changes
lib/Moose/Meta/Method/Destructor.pm
t/300_immutable/016_inline_fallbacks.t [new file with mode: 0644]