aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorMatthieu Sozeau2014-05-09 13:10:18 +0200
committerMatthieu Sozeau2014-05-09 13:10:18 +0200
commitc3ce76de37a988c120654760629b4609272f8885 (patch)
tree8ad851468b3d0b9fb3bfd775f4c760af97c560f8 /tactics
parent79220cec31a9c2c5cafc678b36f7af374417ecd5 (diff)
Refresh universes for Ltac's type_of, as the term can be used anywhere,
fixing two opened bugs from HoTT/coq.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tacinterp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml
index 0d2b3d5a1f..69505172cb 100644
--- a/tactics/tacinterp.ml
+++ b/tactics/tacinterp.ml
@@ -650,7 +650,7 @@ let interp_may_eval f ist env sigma = function
str "Unbound context identifier" ++ pr_id s ++ str"."))
| ConstrTypeOf c ->
let (sigma,c_interp) = f ist env sigma c in
- sigma , Typing.type_of env sigma c_interp
+ Typing.e_type_of ~refresh:true env sigma c_interp
| ConstrTerm c ->
try
f ist env sigma c