Skip to content
Browse files

temporary work around for a meta_lookup bug in Moose

  • Loading branch information...
1 parent e22a087 commit bd9dae0e29312617b8a721460a06c99998b70518 @perigrin perigrin committed Mar 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Reflex/Role.pm
View
1 lib/Reflex/Role.pm
@@ -15,6 +15,7 @@ Moose::Exporter->setup_import_methods(
attribute_parameter method_parameter callback_parameter
) ],
also => 'MooseX::Role::Parameterized',
+ meta_lookup => sub { MooseX::Role::Parameterized::current_metaclass || Class::MOP::class_of(shift) },
);

0 comments on commit bd9dae0

Please sign in to comment.
Something went wrong with that request. Please try again.