Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to coq/coq#18546. #48

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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