From: nperez Date: Fri, 8 May 2009 18:07:31 +0000 (-0500) Subject: insertion_order needs an writer before bootstrap X-Git-Tag: 0.84~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=679d036571b3766c27aef4d65397e16442184063;p=gitmo%2FClass-MOP.git insertion_order needs an writer before bootstrap --- diff --git a/lib/Class/MOP/Attribute.pm b/lib/Class/MOP/Attribute.pm index b095e95..d456ddc 100644 --- a/lib/Class/MOP/Attribute.pm +++ b/lib/Class/MOP/Attribute.pm @@ -179,6 +179,7 @@ sub init_arg { $_[0]->{'init_arg'} } sub initializer { $_[0]->{'initializer'} } sub definition_context { $_[0]->{'definition_context'} } sub insertion_order { $_[0]->{'insertion_order'} } +sub set_insertion_order { $_[0]->{'insertion_order'} = $_[1] } # end bootstrapped away method section. # (all methods below here are kept intact)