nitc: fix --keep-going in the compiler broken by 539ca148d
[nit.git] / src / compiler / abstract_compiler.nit
index e786374..f04c86d 100644 (file)
@@ -196,7 +196,7 @@ class MakefileToolchain
                var time1 = get_time
                self.toolcontext.info("*** END WRITING C: {time1-time0} ***", 2)
 
-               if not toolcontext.check_errors then return
+               toolcontext.check_errors
 
                # Execute the Makefile