call all triggers in rebless_instance - tests now pass.
authorKaren Etheridge <ether@cpan.org>
Wed, 1 Jun 2011 00:40:09 +0000 (00:40 +0000)
committerJesse Luehrs <doy@tozt.net>
Sun, 19 Jun 2011 08:17:36 +0000 (03:17 -0500)
commit1b516071c610bda18fcc15c49d873be35f9c8e10
tree2529bacff59864ba1dde2440ffb1e558b16ea792
parentfb816aae3aa039ece22bc9eaff6574e9484d1837
call all triggers in rebless_instance - tests now pass.

refactored common code out into a sub. As it happens, this is sufficient even for the immutable path, because $meta->rebless_instance is not inlined, even though there is a sub in CMOP for generating inlineable code!
lib/Class/MOP/Class.pm
lib/Moose/Meta/Class.pm
t/basics/rebless.t