X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod.pm;h=002ebe3c61d1b352ffe0f0ec0b7c0845be6239b4;hb=45d9203629e8ebb04b282e900faa9efcf3869724;hp=1a58ce2f02790150668dc0d3531465ae21770a7d;hpb=b6cca0d5690feec99436fe952315d5d4feeb9473;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method.pm b/lib/Moose/Meta/Method.pm index 1a58ce2..002ebe3 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.14'; +our $VERSION = '1.19'; $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";