aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-01 17:00:55 +0200
committerPierre-Marie Pédrot2019-05-10 12:53:09 +0200
commitf7c55014aabb0d607449868e2522515db0b40568 (patch)
tree16fc97ca5dcc475115b059a40425f10f0f53c5fa /plugins/funind
parenta5a89e8b623cd5822f59b854a45efc8236ae0087 (diff)
Make the check flag of conversion functions mandatory.
The current situation is a mess, some functions set it by default, but other no. Making it mandatory ensures that the expected value is the correct one.
Diffstat (limited to 'plugins/funind')
-rw-r--r--plugins/funind/recdef.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml
index 3c2b03dfe0..3dd3a430e8 100644
--- a/plugins/funind/recdef.ml
+++ b/plugins/funind/recdef.ml
@@ -701,7 +701,7 @@ let mkDestructEq :
let changefun patvars env sigma =
pattern_occs [Locus.AllOccurrencesBut [1], expr] (pf_env g2) sigma (pf_concl g2)
in
- Proofview.V82.of_tactic (change_in_concl None changefun) g2);
+ Proofview.V82.of_tactic (change_in_concl ~check:true None changefun) g2);
Proofview.V82.of_tactic (simplest_case expr)]), to_revert