Debian Codegraph @

test-suite/bugs/bug_16617.v

raw
1 Require Import Ltac2.Ltac2.
2 Import Constr.Unsafe.
3 Goal True.
4 let e := '_ in
5 let ev := match kind e with
6 | Evar e _ => e
7 | _ => Control.throw (Tactic_failure None)
8 end in
9 let t := Constr.type e in
10 unify $t bool;
11 Control.new_goal ev > [ exact I | exact true ].
12 Qed.