aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/taccoerce.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tactics/taccoerce.ml b/tactics/taccoerce.ml
index 74e2341bd9..ab71f5f2e7 100644
--- a/tactics/taccoerce.ml
+++ b/tactics/taccoerce.ml
@@ -177,6 +177,7 @@ let coerce_to_evaluable_ref env v =
if Id.List.mem id (Termops.ids_of_context env) then EvalVarRef id
else fail ()
else if has_type v (topwit wit_ref) then
+ let open Globnames in
let r = out_gen (topwit wit_ref) v in
match r with
| VarRef var -> EvalVarRef var