Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
# Collect all modules contained in `self`
fun collect_all_mmodules(view: ModelView): HashSet[MModule] do
var res = new HashSet[MModule]
# 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
res.add_all mgroup.collect_mmodules(view)
end
return res