Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions tests/test_detcheck.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
From elpi Require Import elpi.

Elpi Command test.
Elpi Db foo lp:{{/*(*/
pred test o:pstring.
/*)*/}}.
Elpi File buggy_inline lp:{{/*(*/
kind f type -> type.
kind s type.
typeabbrev pstring (f s).
/*)*/}}.
Fail Elpi Accumulate foo File buggy_inline.
(* Elpi Accumulate Db foo.
Elpi Query lp:{{/*(*/
coq.string->pstring "x" Primx,
X = test Primx,
coq.elpi.accumulate _ "foo" (clause _ _ X).
/*)*/}}. *)
Loading