X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod.pm;h=445882b90468f539c96a14bc0d403e8d6354ac9a;hb=f4b86ac0e1fd7ff8a180f2f8332821170db5371e;hp=0a8967923e72d7365099b6f4c4199a76800b577b;hpb=db236a63c00371129c2254251aaa1408f044cd89;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method.pm b/lib/Moose/Meta/Method.pm index 0a89679..445882b 100644 --- a/lib/Moose/Meta/Method.pm +++ b/lib/Moose/Meta/Method.pm @@ -3,12 +3,16 @@ package Moose::Meta::Method; use strict; use warnings; -our $VERSION = '1.10'; +our $VERSION = '1.16'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; +use Class::MOP::MiniTrait; + use base 'Class::MOP::Method'; +Class::MOP::MiniTrait::apply(__PACKAGE__, 'Moose::Meta::Object::Trait'); + sub _error_thrower { my $self = shift; ( ref $self && $self->associated_metaclass ) || "Moose::Meta::Class";