package_name => $metaclass->name,
name => $accessor,
definition_context => $method_ctx,
+ is_inline => $metaclass->instance_metaclass->is_inlinable,
);
};
confess "Could not create the '$type' method for " . $self->name . " because : $@" if $@;
original_method => $params->{original_method},
# inherit from Class::MOP::Generated
- is_inline => $params->{associated_metaclass}->instance_metaclass->is_inlinable,
+ is_inline => $params->{is_inline},
definition_context => $params->{definition_context},
# defined in this class