work with and require Moose 0.73_01+
[gitmo/MooseX-StrictConstructor.git] / lib / MooseX / StrictConstructor / Role / Meta / Method / Constructor.pm
index 577a846..5c0a8a4 100644 (file)
@@ -19,7 +19,7 @@ around '_generate_BUILDALL' => sub
         ( map { "$_ => 1," }
           grep { defined }
           map { $_->init_arg() }
-          @{ $self->attributes() }
+          @{ $self->_attributes() }
         );
 
     $source .= <<"EOF";