Debian Codegraph @

test-suite/output/InvalidDisjunctiveIntro.v

raw
1 Theorem test (A:Prop) : A \/ A -> A.
2 Fail intros H; destruct H as H.
3 (* Cannot coerce to a disjunctive/conjunctive pattern. *)
4 Fail intro H; destruct H as H.
5 (* Disjunctive/conjunctive introduction pattern expected. *)
6 Fail let H := fresh in intro H; destruct H as H.
7 (* Cannot coerce to a disjunctive/conjunctive pattern. *)
8 Fail let H := fresh in intros H; destruct H as H.
9 (* Cannot coerce to a disjunctive/conjunctive pattern. *)
10 Fail let H := idtac in intros H; destruct H as H.
11 (* Ltac variable H is bound to <tactic closure> which cannot be
12 coerced to an introduction pattern. *)
13 Fail let H := idtac in intros H; destruct H as H'.
14 (* Disjunctive/conjunctive introduction pattern expected. *)
15 Fail let H' := idtac in intros H; destruct H as H'.
16 (* Ltac variable H' is bound to <tactic closure> which cannot
17 be coerced to an introduction pattern. *)
18 Abort.