| 1 |
(* Check a case where ltac typing error should result in error, not anomaly *) |
| 2 |
|
| 3 |
Goal forall (H : forall x : nat, x = x), False. |
| 4 |
intro. |
| 5 |
Fail |
| 6 |
let H := |
| 7 |
match goal with |
| 8 |
| [ H : context G [@eq _ _] |- _ ] => let H' := context G[@plus 2] in H' |
| 9 |
end |
| 10 |
in pose H. |
| 11 |
Abort. |