diff options
| author | Gaëtan Gilbert | 2018-10-10 13:27:27 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-10-16 15:52:52 +0200 |
| commit | 5993c266300cca1c7ca6e8b2b8e3f77f745ca9f9 (patch) | |
| tree | 3b304d51b3f1ae62441d0d63fc4245750508cc3a /engine/evarutil.ml | |
| parent | 72de7e057505c45cdbf75234a9ea90465d0e19ec (diff) | |
Simplify vars_of_global usage
Diffstat (limited to 'engine/evarutil.ml')
| -rw-r--r-- | engine/evarutil.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/evarutil.ml b/engine/evarutil.ml index 13356627f0..f9d9ce3569 100644 --- a/engine/evarutil.ml +++ b/engine/evarutil.ml @@ -549,7 +549,7 @@ let rec check_and_clear_in_constr env evdref err ids global c = if Id.Set.mem id' ids then raise (ClearDependencyError (id',err,Some (Globnames.global_of_constr c))) in - Id.Set.iter check (Environ.vars_of_global env c) + Id.Set.iter check (Environ.vars_of_global env (fst @@ destRef c)) in c |
