Debian Codegraph @

test-suite/bugs/bug_2995.v

raw
1 Module Type Interface.
2 Parameter error: nat.
3 End Interface.
4
5 Module Implementation <: Interface.
6 Definition t := bool.
7 Definition error: t := false.
8 Fail End Implementation.
9 (* A UserError here is expected, not an uncaught Not_found *)
10
11 Reset error.
12 Definition error := 0.
13 End Implementation.