From: Shawn M Moore Date: Tue, 25 Nov 2008 06:25:36 +0000 (+0000) Subject: Anonymous roles are no longer an issue :D X-Git-Tag: 0.05~75 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=328ca81fdad1ef25b933b2765bf6b265a8596e43;p=gitmo%2FMooseX-Role-Parameterized.git Anonymous roles are no longer an issue :D --- diff --git a/TODO b/TODO index 2ef02d9..3bed8ad 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,3 @@ -+ Anonymous roles need work! - - We should be able to say Moose::Meta::Role->create_anon_role. - - Anonymous roles should not have the same strictures as regular roles - * For example, regular roles have to deal with imported functions; - anonymous roles shouldn't have to. - - Role exclusion is done by name, so anonymous roles should not even be - checked. Fix this and t/003-apply.t will pass all of its tests. (Start - by just commenting it out :)) - - The get_method_map and add_method overrides in Meta::Role::Parameterized - are a hack. Fix them correctly in Moose. - + We need to reimplement all of the keywords of Moose::Role. So far I have "has" (and added "method" for various reasons). They need to operate on $CURRENT_METACLASS instead of caller.