X-Git-Url: http://nitlanguage.org diff --git a/src/frontend/simple_misc_analysis.nit b/src/frontend/simple_misc_analysis.nit index 9e3775d..cc12d01 100644 --- a/src/frontend/simple_misc_analysis.nit +++ b/src/frontend/simple_misc_analysis.nit @@ -24,6 +24,7 @@ module simple_misc_analysis import phase redef class ToolContext + # Execute `AModule::do_simple_misc_analysis` on each module. var simple_misc_analysis_phase: Phase = new SimpleMiscAnalysisPhase(self, null) end @@ -58,11 +59,6 @@ private class SimpleMiscVisitor do toolcontext.warning(node.hot_location, tag, msg) end - - init(toolcontext: ToolContext) - do - self.toolcontext = toolcontext - end end