aboutsummaryrefslogtreecommitdiff
path: root/interp/constrintern.ml
diff options
context:
space:
mode:
authorVincent Laporte2019-05-06 14:05:09 +0000
committerVincent Laporte2019-05-10 16:06:10 +0000
commit4e760a40f22e2d76a3d246b225d290eb5d15e9e8 (patch)
treebc38af588c44ae04490a0d4febf17cec79323991 /interp/constrintern.ml
parent2f2658c5a318fb8a8c00caf4d1aca9fbc2d060d0 (diff)
[Canonical structures] Some projections may not be canonical
Diffstat (limited to 'interp/constrintern.ml')
-rw-r--r--interp/constrintern.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/constrintern.ml b/interp/constrintern.ml
index c0801067ce..f06493b374 100644
--- a/interp/constrintern.ml
+++ b/interp/constrintern.ml
@@ -1368,7 +1368,7 @@ let sort_fields ~complete loc fields completer =
let first_field = GlobRef.equal field_glob_ref first_field_glob_ref in
begin match proj_kinds with
| [] -> anomaly (Pp.str "Number of projections mismatch.")
- | (_, regular) :: proj_kinds ->
+ | { Recordops.pk_true_proj = regular } :: proj_kinds ->
(* "regular" is false when the field is defined
by a let-in in the record declaration
(its value is fixed from other fields). *)