Debian Codegraph @

test-suite/output/bug_16716.v

raw
1 Require Import Ltac2.Ltac2.
2
3 Set Primitive Projections.
4 Record R A := mkR { r : A }.
5
6 Ltac2 Type exn ::= [ E (constr) ].
7
8 Set Printing Projections.
9 Set Printing Primitive Projection Parameters.
10
11 Fail Ltac2 Eval Control.zero (E open_constr:(_.(r _))).
12 (* Error: Uncaught Ltac2 exception: E (constr:(...)) *)