Fix to-role role application with aliases.
authorDave Rolsky <autarch@urth.org>
Fri, 11 Sep 2009 01:37:26 +0000 (20:37 -0500)
committerDave Rolsky <autarch@urth.org>
Fri, 11 Sep 2009 01:38:21 +0000 (20:38 -0500)
commitbd38046ec077bf1dfa1a852f9864d9d7c95dffa1
treea2c248ff26fecb9711115be76e7e0c4678040c91
parent55d892c8303ba6a26b1c492572c9fd51f3f4afe7
Fix to-role role application with aliases.

Aliased methods should be added with both their original and new name.

Added some more tests for aliases/excludes with role-to-role application.
lib/Moose/Meta/Role/Application/ToRole.pm
t/030_roles/013_method_aliasing_in_composition.t