Debian Codegraph @

test-suite/output/bug_21288.v

raw
1 Ltac foo := (intuition idtac) || fail "boom".
2 Ltac bar := intuition idtac || fail "baam". (* parsed as [intuition (idtac || fail "baam")] *)
3
4 Print Ltac foo.
5 (* printed without parentheses, ie equivalent to bar *)
6
7 Print Ltac bar.
8
9 Goal True -> 2 = 3.
10 (* yet foo is not equivalent to bar ( "||" runs the second tactic if the first doesn't make progress) *)
11 Succeed foo.
12 Fail bar.
13 Abort.