Clarifying comment about appending wrapped compat modules

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-08-31 17:45:42 +03:00
parent 8449b46bc1
commit 28b311cf95
1 changed files with 3 additions and 1 deletions

View File

@ -414,7 +414,9 @@ module Gen (P : Install_rules.Params) = struct
acc)
in
let wrapped_compat = Module.Name.Map.values wrapped_compat in
(* deprecated modules have implementations so we can just append them *)
(* Compatibility modules have implementations so we can just append them.
We append the modules at the end as no library modules depend on
them. *)
let top_sorted_modules =
Ocamldep.Dep_graph.top_closed_implementations dep_graphs.impl modules
>>^ fun modules -> modules @ wrapped_compat