From: Yuval Kogman Date: Sat, 29 Apr 2006 02:36:36 +0000 (+0000) Subject: You ain't getting rid of that FIXME X-Git-Tag: 0_29_02~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9a1b79130ef2384af9c7243e038a29ac51a996ef;p=gitmo%2FClass-MOP.git You ain't getting rid of that FIXME --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index bcdb18d..80ca6c5 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -492,6 +492,9 @@ sub add_attribute { $attribute->attach_to_class($self); $attribute->install_accessors(); $self->get_attribute_map->{$attribute->name} = $attribute; + + # FIXME + # in theory we have to tell everyone the slot structure may have changed } sub has_attribute { @@ -1215,4 +1218,4 @@ L This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -=cutchistian \ No newline at end of file +=cutchistian