X-Git-Url: http://nitlanguage.org diff --git a/src/phase.nit b/src/phase.nit index bdec532..5f0faf1 100644 --- a/src/phase.nit +++ b/src/phase.nit @@ -147,7 +147,7 @@ redef class ToolContext var time1 = get_time self.info("*** END SEMANTIC ANALYSIS: {time1-time0} ***", 2) - errors_info + self.check_errors end # Process the given `phase` on the `npropdef` @@ -222,7 +222,7 @@ abstract class Phase end # By default, the name is the lowercased prefix of the classname - redef fun to_s do return class_name.strip_extension("Phase").to_lower + redef fun to_s do return class_name.strip_extension("Phase").to_snake_case # Is the phase globally disabled? # A disabled phase is not called automatically called by `ToolContext::run_phases` and cie.