From a4d92c68d51506fcd1d723b7735cb6f044929b7a Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Tue, 1 May 2018 13:44:08 -0400 Subject: [PATCH] model_collect: collect all modules from a package Signed-off-by: Alexandre Terrasa --- src/model/model_collect.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/model_collect.nit b/src/model/model_collect.nit index 8da799a..6edd044 100644 --- a/src/model/model_collect.nit +++ b/src/model/model_collect.nit @@ -235,7 +235,7 @@ redef class MPackage # Collect all modules contained in `self` fun collect_all_mmodules(view: ModelView): HashSet[MModule] do var res = new HashSet[MModule] - for mgroup in collect_mgroups(view) do + for mgroup in collect_all_mgroups(view) do res.add_all mgroup.collect_mmodules(view) end return res -- 1.7.9.5