Skip to content

Commit

Permalink
We already built the code symbol for the overloading op.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafl committed Jul 31, 2009
1 parent f6c1cf8 commit d983389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MooseX/Role/WithOverloading/Meta/Role/Application.pm
Expand Up @@ -53,7 +53,7 @@ sub apply_overloading {
} }
# use overload $op => sub { ... }; # use overload $op => sub { ... };
else { else {
$other->add_package_symbol(qq{&($op} => $meth); $other->add_package_symbol($code_sym => $meth);
} }
} }
} }
Expand Down

0 comments on commit d983389

Please sign in to comment.