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 PR #17987 which adds sigma to the API of search functions #122

Merged
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
6 changes: 3 additions & 3 deletions graphdepend.mlg
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@

let get_dirlist_grefs dirlist =
let selected_gref = ref [] in
let select gref kind env constr =
if Search.module_filter (SearchInside dirlist) gref kind env (Evd.from_env env) constr then
let select gref kind env sigma constr =
if Search.module_filter (SearchInside dirlist) gref kind env sigma constr then
(debug (str "Select " ++ Printer.pr_global gref);
selected_gref := gref::!selected_gref)
in
Search.generic_search (Global.env()) select;
Search.generic_search (Global.env()) (Evd.from_env (Global.env())) select;

Check failure on line 34 in graphdepend.mlg

View workflow job for this annotation

GitHub Actions / build (coqorg/coq:dev)

This function has type Environ.env -> Search.display_function -> unit
!selected_gref

let is_prop gref id =
Expand Down
Loading