Debian Codegraph @

test-suite/bugs/bug_19082.v

raw
1 Inductive boring1 := Boring1.
2 Inductive boring2 := Boring2.
3
4 Inductive output_wrapper := OutputWrapper {
5 ow_alice : boring1;
6 }.
7
8 #[projections(primitive)]
9 Inductive request := InputWrapper {
10 req_alice : boring1;
11 req_next_bob := Boring2;
12 }.
13
14 Definition do_the_thing (req : request) : output_wrapper.
15 Proof.
16 exact (
17 match req with
18 | {|
19 req_alice := alice;
20 |} =>
21 OutputWrapper alice
22 end
23 ).
24 Validate Proof.
25 Qed.