aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/output/ltac_missing_args.v
diff options
context:
space:
mode:
authorGravatar Tej Chajed <tchajed@mit.edu>2017-02-09 11:15:51 -0500
committerGravatar Tej Chajed <tchajed@mit.edu>2017-03-14 15:55:00 -0400
commit028db341f3cb924c2d1b3a9e0fa5666425130f90 (patch)
tree74318bee1763040766c94cecab4848b1b2f84e83 /test-suite/output/ltac_missing_args.v
parentb54892932959a3b16e31f780f7f1b638062b0a95 (diff)
Report missing tactic arguments in error message
Augments "A fully applied tactic is expected" with the list of missing arguments to the tactic. Addresses [bug 5344](https://coq.inria.fr/bugs/show_bug.cgi?id=5344).
Diffstat (limited to 'test-suite/output/ltac_missing_args.v')
-rw-r--r--test-suite/output/ltac_missing_args.v19
1 files changed, 19 insertions, 0 deletions
diff --git a/test-suite/output/ltac_missing_args.v b/test-suite/output/ltac_missing_args.v
new file mode 100644
index 000000000..8ecd97aa5
--- /dev/null
+++ b/test-suite/output/ltac_missing_args.v
@@ -0,0 +1,19 @@
+Ltac foo x := idtac x.
+Ltac bar x := fun y _ => idtac x y.
+Ltac baz := foo.
+Ltac qux := bar.
+Ltac mydo tac := tac ().
+Ltac rec x := rec.
+
+Goal True.
+ Fail foo.
+ Fail bar.
+ Fail bar True.
+ Fail baz.
+ Fail qux.
+ Fail mydo ltac:(fun _ _ => idtac).
+ Fail let tac := (fun _ => idtac) in tac.
+ Fail (fun _ => idtac).
+ Fail rec True.
+ Fail let rec tac x := tac in tac True.
+Abort. \ No newline at end of file