model/model_collect: importation_poset do not collect direct parents and children
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 25 May 2016 23:43:18 +0000 (19:43 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 25 May 2016 23:45:03 +0000 (19:45 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/model/model_collect.nit

index 8585092..79970e5 100644 (file)
@@ -112,8 +112,6 @@ redef class MModule
                var mmodules = new HashSet[MModule]
                mmodules.add self
                mmodules.add_all collect_ancestors(view)
-               mmodules.add_all collect_parents(view)
-               mmodules.add_all collect_children(view)
                mmodules.add_all collect_descendants(view)
                return view.mmodules_poset(mmodules)
        end