Debian Codegraph @

test-suite/bugs/bug_3297.v

raw
1 Goal forall (n : nat) (H := eq_refl : n = n) (H' : n = 0), H = eq_refl.
2 intros.
3 subst. (* Toplevel input, characters 15-20:
4 Error: Abstracting over the term "n" leads to a term
5 "λ n : nat, H = eq_refl" which is ill-typed. *)
6 Undo.
7 revert H.
8 subst. (* success *)
9 Undo.
10 intro.
11 clearbody H.
12 subst. (* success *)
13 Abort.