Debian Codegraph @

test-suite/bugs/bug_17801.v

raw
1 Inductive foo := Foo ( foop : bar )
2 with bar := Bar ( barp : foo ).
3
4 Check (foo, bar) : Prop * Prop.
5 (* Set * Prop *)
6
7 Check fun b : bar => match b with Bar x => x end.
8 (* incorrect elimination to return sort Set *)