Merge: lib/github: introduces Github hook events
[nit.git] / src / frontend / frontend.nit
index 713c6fa..5b04e01 100644 (file)
@@ -29,8 +29,12 @@ import glsl_validation
 redef class ToolContext
        # FIXME: there is conflict in linex in nitc, so use this trick to force invocation
        private var dummy: Bool = do_dummy
-       fun do_dummy: Bool
+
+       # SEE `dummy`
+       private fun do_dummy: Bool
        do
+               # Force no warning before analysing classes
+               phases.add_edge(modelize_class_phase, no_warning_phase)
                # Force easy warnings after modelbuilder
                phases.add_edge(simple_misc_analysis_phase, modelize_property_phase)
                # Force easy warnings before intraproc-errors