From 28b311cf95486154a25cbb2d1884c8e6d80a57f2 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 31 Aug 2018 17:45:42 +0300 Subject: [PATCH] Clarifying comment about appending wrapped compat modules Signed-off-by: Rudi Grinberg --- src/lib_rules.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib_rules.ml b/src/lib_rules.ml index 4074fa07..976819a6 100644 --- a/src/lib_rules.ml +++ b/src/lib_rules.ml @@ -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