Skip to content

Commit 4adb0bb

Browse files
committed
FIXUP: fix values.ml
1 parent 41df3b4 commit 4adb0bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

checker/values.ml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ let v_cst = v_sum "cst|mind" 0 [|[|v_kn|];[|v_kn;v_kn|]|]
176176
let v_ind = v_tuple "inductive" [|v_cst;v_int|]
177177
let v_cons = v_tuple "constructor" [|v_ind;v_int|]
178178

179+
let v_rules = v_tuple "rewrite rule" [|v_dp; v_id|]
179180

180181
(** kernel/univ *)
181182
let v_level_global = v_tuple "Level.Global.t" [|v_dp;v_string;v_int|]
@@ -340,7 +341,8 @@ let v_typing_flags =
340341
v_tuple "typing_flags"
341342
[|v_bool; v_bool; v_bool;
342343
v_oracle; v_bool; v_bool;
343-
v_bool; v_bool; v_bool; v_bool; v_bool|]
344+
v_bool; v_bool; v_bool; v_bool; v_bool;
345+
v_opt (v_hset v_rules); v_opt (v_hset v_rules)|]
344346

345347
let v_univs = v_sum "universes" 1 [|[|v_abs_context|]|]
346348

@@ -526,7 +528,7 @@ let [_v_hpattern;v_elimination;_v_head_elim;_v_patarg] : _ Vector.t =
526528
let v_rewrule = v_tuple "rewrite_rule"
527529
[| v_tuple "nvars" [| v_int; v_int; v_int |]; v_pair v_instance_mask (v_list v_elimination); v_constr |]
528530
let v_rrb = v_tuple "rewrite_rules_body"
529-
[| v_list (v_pair v_cst v_rewrule) |]
531+
[| v_list (v_pair v_cst v_rewrule); v_bool |]
530532

531533
let v_module_with_decl = v_sum "with_declaration" 0 [|
532534
[|v_list v_id; v_mp|];

0 commit comments

Comments
 (0)