refactored the Constructor to support inlining better and Accessors some too
[gitmo/Class-MOP.git] / t / 050_scala_style_mixin_composition.t
index 290747c..fca7310 100644 (file)
@@ -86,7 +86,7 @@ sub ::with ($) {
         my $method = $mixin->get_method($_);
         # we want to ignore accessors since
         # they will be created with the attrs
-        (blessed($method) && $method->isa('Class::MOP::Attribute::Accessor'))
+        (blessed($method) && $method->isa('Class::MOP::Method::Accessor'))
             ? () : ($_ => $method)
     } $mixin->get_method_list;