aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/indfun_common.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-02-07 15:49:18 +0100
committerGaëtan Gilbert2020-02-07 15:53:57 +0100
commit9c548090b0b27ed80cb6463852f103cf74edc06d (patch)
treeaa53934b02bddb8b615a7bb648bc45d9f4331cd6 /plugins/funind/indfun_common.ml
parentaaea20533a92787a4b445fca01d0d90a2b59cce1 (diff)
Remove unsafe_type_of from funind
Diffstat (limited to 'plugins/funind/indfun_common.ml')
-rw-r--r--plugins/funind/indfun_common.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/funind/indfun_common.ml b/plugins/funind/indfun_common.ml
index b55d8537d6..bce09d8fbd 100644
--- a/plugins/funind/indfun_common.ml
+++ b/plugins/funind/indfun_common.ml
@@ -526,3 +526,7 @@ let funind_purify f x =
let e = CErrors.push e in
Vernacstate.unfreeze_interp_state st;
Exninfo.iraise e
+
+let tac_type_of g c =
+ let sigma, t = Tacmach.pf_type_of g c in
+ {g with Evd.sigma}, t