Skip to content

Commit

Permalink
Adapt to coq/coq#18546. (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepigre authored Apr 3, 2024
1 parent 48b4d59 commit eb307d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wp_auto.ml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ let exact (h: hint): unit tactic =
(**
Same function as {! Auto.exists_evaluable_reference}
*)
let exists_evaluable_reference (env: Environ.env) (evaluable_ref: Names.Evaluable.t): bool = match evaluable_ref with
let exists_evaluable_reference (env: Environ.env) (evaluable_ref: Evaluable.t): bool = match evaluable_ref with
| Evaluable.EvalConstRef _ -> true
| Evaluable.EvalProjectionRef _ -> true
| Evaluable.EvalVarRef v -> try ignore(Environ.lookup_named v env); true with Not_found -> false
Expand Down
2 changes: 1 addition & 1 deletion src/wp_auto.mli
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ open Backtracking
(**
Same function as {! Auto.exists_evaluable_reference}
*)
val exists_evaluable_reference : Environ.env -> Names.Evaluable.t -> bool
val exists_evaluable_reference : Environ.env -> Evaluable.t -> bool

(**
Prints "idtac" if the [log] field is [true]
Expand Down

0 comments on commit eb307d8

Please sign in to comment.