is weird but seems to happen in some bizarro cases).
# otherwise we have to check that the actual method is an inlined
# version of what we're expecting
if ( $inherited_method->isa(__PACKAGE__) ) {
- if ( refaddr( $inherited_method->_uninlined_body )
+ if ( $inherited_method->_uninlined_body
+ && refaddr( $inherited_method->_uninlined_body )
== refaddr($expected_method) ) {
return 1;
}