Debian Codegraph @

tests/bug_748.v

raw
1 From elpi Require Import elpi.
2
3 Definition myType := Type.
4 Variant indd : myType := Indd : indd.
5
6 Definition myType_R u v := u -> v -> Type.
7
8 Elpi Command foo.
9 Elpi Accumulate "
10 main _ :-
11 std.assert-ok! (coq.typecheck-indt-decl (inductive ""indt_R"" tt
12 (arity {{ myType_R indd indd }})
13 c1 \
14 [ constructor ""Indd_R"" (arity {{ lp:c1 Indd Indd }}) ])) ""error"".
15 ".
16 Elpi foo.