Add definition context to every accessor defined internally
[gitmo/Moose.git] / lib / Moose / Meta / Role / Application / RoleSummation.pm
index db0452d..cdedb94 100644 (file)
@@ -12,7 +12,8 @@ use base 'Moose::Meta::Role::Application';
 
 __PACKAGE__->meta->add_attribute('role_params' => (
     reader  => 'role_params',
-    default => sub { {} }
+    default => sub { {} },
+    Class::MOP::_definition_context(),
 ));
 
 sub get_exclusions_for_role {