Merge: Abstract attribute
[nit.git] / src / frontend / frontend.nit
index a7feffe..8c5079f 100644 (file)
 # Collect and orchestration of main frontend phases
 module frontend
 
+import no_warning
 import simple_misc_analysis
 import literal
 import modelize
 import semantize
 import div_by_zero
-import cached
 import serialization_phase
 import check_annotation
 import glsl_validation
@@ -32,6 +32,8 @@ redef class ToolContext
        # 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