Skip to content

Commit

Permalink
Adapt to coq/coq#17466 (relevance_of_sort takes evar map)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkySkimmer committed May 23, 2023
1 parent 5167648 commit 282feda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parametricity.ml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ let rec relation order evd env (t : constr) : constr =
debug [`Relation] "input =" env !evd t;
let res = match kind !evd t with
| Sort s ->
let r = Retyping.relevance_of_sort s in
let r = Retyping.relevance_of_sort !evd s in
fold_nat (fun _ -> mkArrow (mkRel order) r) (prop_or_type env evd t) order
| Prod (x, a, b) ->
let a_R = relation order evd env a in
Expand Down

0 comments on commit 282feda

Please sign in to comment.