aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tac2core.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tac2core.ml b/src/tac2core.ml
index 37f1c99b15..cd39cb6f27 100644
--- a/src/tac2core.ml
+++ b/src/tac2core.ml
@@ -734,7 +734,8 @@ end
(** (unit -> constr) -> unit *)
let () = define1 "refine" begin fun bt c ->
let c = thaw bt c >>= fun c -> Proofview.tclUNIT ((), Value.to_constr c) in
- Proofview.Goal.nf_enter begin fun gl ->
+ Proofview.Goal.enter begin fun gl ->
+ let gl = Proofview.Goal.assume gl in
Refine.generic_refine ~typecheck:true c gl
end >>= fun () -> return v_unit
end