nitc :: MModule :: linearize_mclassdefs
the refinement link is stronger than the specialisation link The most general is first, the most specific is last
# Sort a given array of class definitions using the linearization order of the module
# the refinement link is stronger than the specialisation link
# The most general is first, the most specific is last
fun linearize_mclassdefs(mclassdefs: Array[MClassDef])
do
mclassdef_sorter.sort(mclassdefs)
end
src/model/model.nit:246,2--252,4