From: Jesse Luehrs Date: Thu, 23 Sep 2010 00:50:24 +0000 (-0500) Subject: don't both "use metaclass" and then "use base 'Class::MOP::Class'" X-Git-Tag: 1.09~42 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d4075cb356da3b35741f9b60659bd294515d6a64;p=gitmo%2FClass-MOP.git don't both "use metaclass" and then "use base 'Class::MOP::Class'" this breaks several assumptions, including metaclass compatibility (use base can't recheck that) and the existence of a 'meta' method (if no_meta => 1 is passed to use metaclass). neither of these are an issue here specifically, but better to not open up the issue (and it's not necessary anyway). --- diff --git a/t/074_immutable_custom_trait.t b/t/074_immutable_custom_trait.t index a29e957..0139317 100644 --- a/t/074_immutable_custom_trait.t +++ b/t/074_immutable_custom_trait.t @@ -12,7 +12,6 @@ use Class::MOP; use strict; use warnings; - use metaclass; use base 'Class::MOP::Class';