X-Git-Url: http://nitlanguage.org diff --git a/src/ffi/extern_classes.nit b/src/ffi/extern_classes.nit index 6b53008..40459df 100644 --- a/src/ffi/extern_classes.nit +++ b/src/ffi/extern_classes.nit @@ -17,7 +17,8 @@ # Manages all extern classes and their associated foreign type. module extern_classes -import ffi_base +import light_ffi_base +import modelize redef class ToolContext var extern_classes_typing_phase_ast: Phase = new ExternClassesTypingPhaseAst(self, [ffi_language_assignation_phase, modelize_class_phase]) @@ -109,7 +110,7 @@ redef class MClass var ftype_b: nullable ForeignType = null # FIXME hack to circumvent bug where ftype is typed null # look in super classes - for s in in_hierarchy(intro.mmodule).direct_greaters do + for s in in_hierarchy(intro_mmodule).direct_greaters do var super_ftype = s.compute_ftype(v) if super_ftype != null then if ftype_b == null then