aboutsummaryrefslogtreecommitdiff
path: root/library/impargs.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/impargs.ml')
-rw-r--r--library/impargs.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/impargs.ml b/library/impargs.ml
index fead921a55..b53b2a89d1 100644
--- a/library/impargs.ml
+++ b/library/impargs.ml
@@ -415,9 +415,9 @@ let compute_global_implicits flags manual = function
let merge_impls oldimpls newimpls =
let (before, news), olds =
let len = List.length newimpls - List.length oldimpls in
- if len >= 0 then list_split_at len newimpls, oldimpls
+ if len >= 0 then list_chop len newimpls, oldimpls
else
- let before, after = list_split_at (-len) oldimpls in
+ let before, after = list_chop (-len) oldimpls in
(before, newimpls), after
in
before @ (List.map2 (fun orig ni ->