src: Update init
[nit.git] / src / metrics / ast_metrics.nit
index c1442c0..e5f1e10 100644 (file)
@@ -16,9 +16,7 @@
 
 # Metrics about the nodes and identifiers in the AST
 module ast_metrics
-import modelbuilder
-private import metrics_base
-import frontend
+import metrics_base
 
 redef class ToolContext
        var ast_metrics_phase: Phase = new AstMetricsPhase(self, null)
@@ -51,7 +49,6 @@ private class AstMetricsVisitor
        super Visitor
 
        var phase: AstMetricsPhase
-       init(phase: AstMetricsPhase) do self.phase = phase
 
        redef fun visit(n)
        do