typing: move redef class check before inheritance
[nit.git] / tests / sav / error_needed_types_alt9.sav