make re-applying a role to an object instance a no-op. Previously, we ended up making...
authorDave Rolsky <autarch@houseabsolute.urth.org>
Sat, 14 Mar 2009 16:29:27 +0000 (11:29 -0500)
committerDave Rolsky <autarch@houseabsolute.urth.org>
Sat, 14 Mar 2009 16:29:27 +0000 (11:29 -0500)
commitbfe4136962533b04367ff4f5f3c483536c31231d
treeefe8513f41400aaaa97d7c5f34b977626e2740c6
parentc2eebdcc784b9b14b719a54c285596c9941b3936
make re-applying a role to an object instance a no-op. Previously, we ended up making a new anon class every time the same role was re-applied.
Changes
lib/Moose/Meta/Role/Application/ToInstance.pm
t/030_roles/010_run_time_role_composition.t