aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/heads.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/heads.ml')
-rw-r--r--library/heads.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/heads.ml b/library/heads.ml
index 62e27dd00..e6c9bc9a8 100644
--- a/library/heads.ml
+++ b/library/heads.ml
@@ -119,7 +119,7 @@ let kind_of_head env t =
else
(* enough arguments to [cst] *)
k,List.skipn n l,List.nth l (i-1) in
- let l' = List.tabulate (fun _ -> mkMeta 0) q @ rest in
+ let l' = List.make q (mkMeta 0) @ rest in
aux k' l' a (with_subcase or with_case)
| ConstructorHead when with_case -> NotImmediatelyComputableHead
| x -> x