# assumption,.. but you can
# never tell <:)
'associated_metaclass' => $options->{associated_metaclass},
- 'slots' => $options->{slots},
- 'slot_hash' => $options->{slot_hash},
+ 'attributes' => $options->{attributes},
+ 'slots' => $options->{slots},
+ 'slot_hash' => $options->{slot_hash},
} => $class;
# FIXME weak_ref => 1,
bless $instance, $metaclass->name;
}
+sub is_dependent_on_superclasses {
+ return; # for meta instances that require updates on inherited slot changes
+}
+
# inlinable operation snippets
sub is_inlinable { 1 }
This will return true if C<$slot_name> is a valid slot name.
+=item B<is_dependent_on_superclasses>
+
+This method returns true when the meta instance must be recreated on any
+superclass changes.
+
+Defaults to false.
+
=back
=head2 Operations on Instance Structures