metrics: type phase attributes with Phase instead of private subclasses
[nit.git] / src / metrics / inheritance_metrics.nit
index 6c95b58..2fc1d86 100644 (file)
@@ -24,7 +24,7 @@ import phase
 import frontend
 
 redef class ToolContext
-       var inheritance_metrics_phase = new InheritanceMetricsPhase(self, null)
+       var inheritance_metrics_phase: Phase = new InheritanceMetricsPhase(self, null)
 end
 
 # Extract metrics about inheritance from model.