From: Dave Rolsky Date: Sat, 14 Feb 2009 15:11:03 +0000 (+0000) Subject: Remove docs about metaclass incompat problems, which should be fixed X-Git-Tag: 0.70~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=23010000502b046f76a52aca67550dfd310dbe74;p=gitmo%2FMoose.git Remove docs about metaclass incompat problems, which should be fixed --- diff --git a/lib/Moose/Util/MetaRole.pm b/lib/Moose/Util/MetaRole.pm index 48ca528..509df9e 100644 --- a/lib/Moose/Util/MetaRole.pm +++ b/lib/Moose/Util/MetaRole.pm @@ -219,44 +219,6 @@ once. This function will apply the specified roles to the object's base class. -=head1 PROBLEMS WITH METACLASS ROLES AND SUBCLASS - -Because of the way this module works, there is an ordering problem -which occurs in certain situations. This sequence of events causes an -error: - -=over 4 - -=item 1. - -There is a class (C) which uses some extension(s) that apply -roles to the metaclass. - -=item 2. - -You have another class (C) which wants to subclass C and -apply some more extensions. - -=back - -Normally, the call to C will happen at run time, I the -additional extensions are applied. This causes an error when we try to -make the metaclass for C compatible with the metaclass for -C. - -We hope to be able to fix this in the future. - -For now the workaround is for C to make sure it extends C -I it loads extensions: - - package ClassB; - - use Moose; - - BEGIN { extends 'ClassA' } - - use MooseX::SomeExtension; - =head1 AUTHOR Dave Rolsky Eautarch@urth.orgE