When applying a role to a class and some methods are missing (or are
authorDave Rolsky <autarch@urth.org>
Thu, 4 Dec 2008 16:44:34 +0000 (16:44 +0000)
committerDave Rolsky <autarch@urth.org>
Thu, 4 Dec 2008 16:44:34 +0000 (16:44 +0000)
commitd939e016559e9796651f35533c8bd8dfc5ccdfc3
tree6c68f52b77f97a53ae57ed2de11ba7fc9b5f1269
parent225f805f22bed93b8582508f9be008809cc8045d
When applying a role to a class and some methods are missing (or are
accessors), collect all the missing methods together and mention them
all in the error, rather than just dying on the first one. This makes
for a much friendlier error message. (RT #41119).
Changes
lib/Moose/Meta/Role/Application/ToClass.pm
lib/Moose/Util.pm
t/030_roles/004_role_composition_errors.t