projects
/
gitmo/Role-Tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make role application interface consistent
[gitmo/Role-Tiny.git]
/
lib
/
Moo
/
Role.pm
diff --git
a/lib/Moo/Role.pm
b/lib/Moo/Role.pm
index
a8af3cf
..
6710384
100644
(file)
--- a/
lib/Moo/Role.pm
+++ b/
lib/Moo/Role.pm
@@
-26,8
+26,8
@@
sub import {
}
sub apply_role_to_package {
- my ($me, $role, $to) = @_;
- $me->SUPER::apply_role_to_package($role, $to);
+ my ($me, $to, $role) = @_;
+ $me->SUPER::apply_role_to_package($to, $role);
$me->_handle_constructor($to, $INFO{$role}{attributes});
}