diff options
| author | Maxime Dénès | 2019-04-04 21:06:34 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2019-04-10 15:41:43 +0200 |
| commit | bf5f0520cf105afb048c6eac5d6de1d3e1a719df (patch) | |
| tree | dfc7afd2f394958a81c5ce33d1422f72b7e6b36b /tactics/redexpr.ml | |
| parent | 3b980d937b5adfbae472ed8a13748a451fdf3450 (diff) | |
Remove one call to Global.env in Detyping
One other call still remains, but will require to refactor some
section-handling code.
Diffstat (limited to 'tactics/redexpr.ml')
| -rw-r--r-- | tactics/redexpr.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/redexpr.ml b/tactics/redexpr.ml index aabfae444e..7ff88bb4b7 100644 --- a/tactics/redexpr.ml +++ b/tactics/redexpr.ml @@ -262,7 +262,7 @@ let subst_red_expr subs = Redops.map_red_expr_gen (subst_mps subs) (Mod_subst.subst_evaluable_reference subs) - (Patternops.subst_pattern subs) + (Patternops.subst_pattern (Global.env()) subs) let inReduction : bool * string * red_expr -> obj = declare_object |
