test-suite/bugs/bug_17619.v
raw| 1 | Goal True. |
| 2 | let t := open_constr:(_) in |
| 3 | let c := open_constr:(fun x (f:t x) => f x) in |
| 4 | let _ := type of c in |
| 5 | idtac. |
| 6 | Abort. |
| 7 | |
| 8 | Axiom ST : SProp. |
| 9 | Axiom s : ST. |
| 10 | |
| 11 | Goal ST. |
| 12 | let t := open_constr:(_) in |
| 13 | let c := open_constr:(fun x (f:t x) => f x) in |
| 14 | let c := eval simpl in c in |
| 15 | let c := constr:(c s (fun x => x)) in |
| 16 | exact c. |
| 17 | Qed. |