diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2016-11-04 15:55:52 +0100 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2016-11-04 16:00:52 +0100 |
commit | 22dfbff296cf03b6fab2bcec4eb5f9cf6ee8368c (patch) | |
tree | 096a4ff4fec84349501f2f94f4011432337a8a5e /proofs/tacmach.ml | |
parent | 6bb352a6743c7332b9715ac15e95c806a58d101c (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.ml | 3 |
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 |