File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,4 @@ tests/test_link_order_import3.v
5555tests/test_query_extra_dep.v
5656tests/test_toposort.v
5757tests/test_synterp.v
58+ tests/test_checker.v
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ let set_current_program n =
286286 current_program := Some n
287287
288288let typecheck_program ?program () =
289- match ! current_program with
289+ match Option. append program ! current_program with
290290 | None -> ()
291291 | Some program ->
292292 let elpi = P. ensure_initialized () in
Original file line number Diff line number Diff line change 1+ From elpi Require Import elpi.
2+
3+ Elpi Command foo.
4+ Elpi Accumulate lp:{{
5+ pred p i:int.
6+ p 0 0.
7+
8+ }}.
9+ Fail Elpi Typecheck.
10+
11+ Elpi Command bar.
12+ Elpi Accumulate lp:{{
13+ pred p i:int.
14+ p 0.
15+
16+ }}.
17+ Elpi Typecheck.
18+
19+ Fail Elpi Typecheck foo.
You can’t perform that action at this time.
0 commit comments