aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorMatthieu Sozeau2015-11-03 17:25:49 -0500
committerMatthieu Sozeau2015-11-04 11:25:50 -0500
commitb30ca8ac9e0225e6505fea0004ea37e7649c9cb6 (patch)
tree0a16bf29d60f9b27530b9c5fa2e1c58aa210353a /tactics
parentf4ff8f4f8b0bd2c721e4984faf7360d6fab93b05 (diff)
Fix bug in proofs/logic.ml type_of_global_reference_knowing_conclusion
is buggy in general.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tactics.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 7756553e2d..2a46efd8ef 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -3329,7 +3329,7 @@ let abstract_args gl generalize_vars dep id defined f args =
if defined then Some c', typ_of ctxenv !sigma c'
else None, c'
in
- let term = make_abstract_generalize gl id concl dep ctx body c' eqs args refls in
+ let term = make_abstract_generalize {gl with sigma = !sigma} id concl dep ctx body c' eqs args refls in
Some (term, !sigma, dep, succ (List.length ctx), vars)
else None