summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_merge.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/odoc_merge.ml')
-rw-r--r--ocamldoc/odoc_merge.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/ocamldoc/odoc_merge.ml b/ocamldoc/odoc_merge.ml
index aa01c77d3..ebe62945b 100644
--- a/ocamldoc/odoc_merge.ml
+++ b/ocamldoc/odoc_merge.ml
@@ -291,9 +291,9 @@ let rec merge_parameters param_mli param_ml =
match (param_mli, param_ml) with
([], []) -> []
| (l, []) | ([], l) -> l
- | (pi_mli :: li, pi_ml :: l) ->
- (merge_param_info pi_mli pi_ml) :: merge_parameters li l
-
+ | ((pi_mli, label) :: li, (pi_ml,_) :: l) ->
+ ((merge_param_info pi_mli pi_ml), label) :: merge_parameters li l
+
(** Merge of two t_class, one for a .mli, another for the .ml.
The .mli class is completed with the information in the .ml class. *)
let merge_classes merge_options mli ml =