diff options
| author | Maxime Dénès | 2017-02-27 13:43:06 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2017-02-27 13:43:06 +0100 |
| commit | 5bd9452721495296cf4f2f34c77bc27e16377e8e (patch) | |
| tree | 5804199c41da779c7e6103f9e235baaf82118563 /test-suite/bugs | |
| parent | 04d086e21cdf28c4029133a0f8fd1720d13544e8 (diff) | |
| parent | ed9ab22b8c3b2210f479689f46d3e4b2fd4f52df (diff) | |
Merge PR#395: Allow hintdb to be parameters in a Ltac definition or
Tactic Notation
Diffstat (limited to 'test-suite/bugs')
| -rw-r--r-- | test-suite/bugs/closed/2417.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2417.v b/test-suite/bugs/closed/2417.v new file mode 100644 index 0000000000..b2f00ffc65 --- /dev/null +++ b/test-suite/bugs/closed/2417.v @@ -0,0 +1,15 @@ +Parameter x y : nat. +Axiom H : x = y. +Hint Rewrite H : mybase. + +Ltac bar base := autorewrite with base. + +Tactic Notation "foo" ident(base) := autorewrite with base. + +Goal x = 0. + bar mybase. + now_show (y = 0). + Undo 2. + foo mybase. + now_show (y = 0). +Abort. |
