blob: 633a5e47490f5a201b8a6de7f908269a576f181e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Set Warnings "+deprecated".
#[deprecated(since = "8.8", note = "Use idtac instead")]
Ltac foo x := idtac.
Goal True.
Fail (foo true).
Abort.
Fail Ltac bar := foo.
Fail Tactic Notation "bar" := foo.
#[deprecated(since = "8.8", note = "Use idtac instead")]
Tactic Notation "bar" := idtac.
Goal True.
Fail bar.
Abort.
Fail Ltac zar := bar.
Set Warnings "-deprecated".
Ltac zar := foo.
Ltac zarzar := bar.
Set Warnings "+deprecated".
Goal True.
zar x.
zarzar.
Abort.
|