tuxdna wrote:
src/oo.c:Parrot_remove_parent()
Why should anyone remove a parent of any class? I believe it will break the
hierarchy.
The default class system only allows you to modify the inheritance
hierarchy of a class by cloning the class. That means that any new
instances get the change, but existing ones don't (unless you do
something to make it that way).
Either way, the way that the inheritance hierarchy is stored is
class-system specific, meaning the implementation for this would want to
be in the remove_parent v-table method of the class PMC anyway. So I
suspect the C stub should be removed and the ticket closed.
Other opinions?
Jonathan