Skip to content

Commit

Permalink
Fix for Coq PR#8554 (term builder for tactic "change" takes an enviro…
Browse files Browse the repository at this point in the history
…nment).
  • Loading branch information
herbelin authored and ppedrot committed Oct 23, 2018
1 parent 2c1a089 commit a69551a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tac2tactics.ml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ let specialize c pat =
let change pat c cl =
let open Tac2ffi in
Proofview.Goal.enter begin fun gl ->
let env = Proofview.Goal.env gl in
let c subst sigma =
let c subst env sigma =
let subst = Array.map_of_list snd (Id.Map.bindings subst) in
delayed_of_tactic (Tac2ffi.app_fun1 c (array constr) constr subst) env sigma
in
Expand Down

0 comments on commit a69551a

Please sign in to comment.