Permalink
Browse files

We already built the code symbol for the overloading op.

  • Loading branch information...
1 parent f6c1cf8 commit d983389d24d21e41e3b0f9b7db943cc5fc2a6146 @rafl committed Jul 31, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/MooseX/Role/WithOverloading/Meta/Role/Application.pm
View
2 lib/MooseX/Role/WithOverloading/Meta/Role/Application.pm
@@ -53,7 +53,7 @@ sub apply_overloading {
}
# use overload $op => sub { ... };
else {
- $other->add_package_symbol(qq{&($op} => $meth);
+ $other->add_package_symbol($code_sym => $meth);
}
}
}

0 comments on commit d983389

Please sign in to comment.