Debian Codegraph @

test-suite/bugs/bug_2360.v

raw
1 (* This failed in V8.3 because descend_in_conjunctions built ill-typed terms *)
2 Definition interp (etyp : nat -> Type) (p: nat) := etyp p.
3
4 Record Value (etyp : nat -> Type) := Mk {
5 typ : nat;
6 value : interp etyp typ
7 }.
8
9 Definition some_value (etyp : nat -> Type) : (Value etyp).
10 Proof.
11 intros.
12 Fail apply Mk. (* Check that it does not raise an anomaly *)
13 Abort.