nituml: update ModelView
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 16 Oct 2017 03:18:46 +0000 (23:18 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 16 Oct 2017 03:20:29 +0000 (23:20 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/nituml.nit

index 330370f..ea838aa 100644 (file)
@@ -41,7 +41,7 @@ private class UMLPhase
        super Phase
        redef fun process_mainmodule(mainmodule, mmodules)
        do
-               var view = new ModelView(mainmodule.model)
+               var view = new ModelView(mainmodule.model, mainmodule)
                if not toolcontext.opt_privacy.value then
                        view.min_visibility = protected_visibility
                end