Debian Codegraph @

test-suite/success/LtacDeprecation.v

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