aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/tacmach.ml
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2016-11-04 15:55:52 +0100
committerGravatar Matthieu Sozeau <mattam@mattam.org>2016-11-04 16:00:52 +0100
commit22dfbff296cf03b6fab2bcec4eb5f9cf6ee8368c (patch)
tree096a4ff4fec84349501f2f94f4011432337a8a5e /proofs/tacmach.ml
parent6bb352a6743c7332b9715ac15e95c806a58d101c (diff)
Fix #3441 Use pf_get_type_of to avoid blowup
... in pose proof of large proof terms
Diffstat (limited to 'proofs/tacmach.ml')
-rw-r--r--proofs/tacmach.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/proofs/tacmach.ml b/proofs/tacmach.ml
index 2b129ad89..330594af5 100644
--- a/proofs/tacmach.ml
+++ b/proofs/tacmach.ml
@@ -171,6 +171,9 @@ module New = struct
let pf_unsafe_type_of gl t =
pf_apply unsafe_type_of gl t
+ let pf_get_type_of gl t =
+ pf_apply (Retyping.get_type_of ~lax:true) gl t
+
let pf_type_of gl t =
pf_apply type_of gl t