Adding a role changes the method map, but it will not change the
authorDave Rolsky <autarch@urth.org>
Fri, 29 Aug 2008 03:43:56 +0000 (03:43 +0000)
committerDave Rolsky <autarch@urth.org>
Fri, 29 Aug 2008 03:43:56 +0000 (03:43 +0000)
commit2bed56975b7dda82bf1dcdb8540ea054953302ba
tree7fb815761450663016cfd442403424194e674d73
parentba392ecbda5006d71cf513a59d8dfc1c928d8392
Adding a role changes the method map, but it will not change the
package cache flag, so we need to reset that flag when adding a role.

This fixes the bug tokuhirom found, which is tested in
t/030_roles/031_roles_applied_in_create.t
lib/Moose/Meta/Role.pm