Skip to content

Commit

Permalink
Fix checker/values.ml in accordance with the change to Fix where we m…
Browse files Browse the repository at this point in the history
…ade pfixpoint hold an array of optional ints instead of an array of ints. I'm surprised there haven't been mystery segfaults due to this oversight.
  • Loading branch information
Jonathan Chan committed Aug 26, 2019
1 parent 06c0923 commit 2dc350c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checker/values.ml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ let rec v_constr =

and v_prec = Tuple ("prec_declaration",
[|Array (v_binder_annot v_name); Array v_constr; Array v_constr|])
and v_fix = Tuple ("pfixpoint", [|Tuple ("fix2",[|Array Int;Int|]);v_prec|])
and v_fix = Tuple ("pfixpoint", [|Tuple ("fix2",[|Array (Opt Int);Int|]);v_prec|])
and v_cofix = Tuple ("pcofixpoint",[|Int;v_prec|])

let v_rdecl = v_sum "rel_declaration" 0
Expand Down

0 comments on commit 2dc350c

Please sign in to comment.