toolcontext: call only `errors_info` once at the end
[nit.git] / src / modelbuilder.nit
index 38db14a..23f7d49 100644 (file)
@@ -59,6 +59,9 @@ redef class ToolContext
                                phase.process_mainmodule(mainmodule, mmodules)
                        end
                end
+
+               check_errors
+               errors_info
        end
 end