aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3286.v
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-11-02 12:26:53 +0100
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-12-02 18:34:11 +0100
commit9205d8dc7b9e97b6c2f0815fddc5673c21d11089 (patch)
treecdb63debac7a78b66849ab8f747c5c7214bb1a7a /test-suite/bugs/closed/3286.v
parent2374a23fb7ebfa547eb16ce2ab8dc9efb2a3f855 (diff)
Changing syntax "$(tactic)$" into "ltac:(tactic)", as discussed in WG.
Diffstat (limited to 'test-suite/bugs/closed/3286.v')
-rw-r--r--test-suite/bugs/closed/3286.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/test-suite/bugs/closed/3286.v b/test-suite/bugs/closed/3286.v
index b08b7ab3c..701480fc8 100644
--- a/test-suite/bugs/closed/3286.v
+++ b/test-suite/bugs/closed/3286.v
@@ -6,20 +6,20 @@ Ltac make_apply_under_binders_in lem H :=
| forall x : ?T, @?P x
=> let ret := constr:(fun x' : T =>
let Hx := H x' in
- $(let ret' := tac lem Hx in
- exact ret')$) in
+ ltac:(let ret' := tac lem Hx in
+ exact ret')) in
match eval cbv zeta in ret with
| fun x => Some (@?P x) => let P' := (eval cbv zeta in P) in
constr:(Some P')
end
- | _ => let ret := constr:($(match goal with
+ | _ => let ret := constr:(ltac:(match goal with
| _ => (let H' := fresh in
pose H as H';
apply lem in H';
exact (Some H'))
| _ => exact (@None nat)
end
- )$) in
+ )) in
let ret' := (eval cbv beta zeta in ret) in
constr:(ret')
| _ => constr:(@None nat)