You will probably have to verify that by browsing through precompile.pike. If you find that (or make sure that) the desired behaviour is guaranteed by the current implementation, it is probably a good idea to document this guarantee near the code in question.
/ Johan Sundström (folkskådare)
Previous text:
2003-03-13 13:25: Subject: INIT order
If I have an inheritance tree, with INIT methods in each class, in which order will they be invoked when a class is cloned?
In particular, when using multiple inheritance
class foo { inherit A; inherit M; }
can I count i on A's INIT method being executed before M's? For some context, M is a mixin, that works by initializing fields of A. Inheritance tree may look something like
M A N | | | | B | | |\ / | C E \ / D
where N and M are two different mixins modifying the behaviour of A.
/ Niels Möller ()