Skip to content

Commit

Permalink
avoid declaring options twice
Browse files Browse the repository at this point in the history
This can happen in a coq instance handling multiple files, eg vscoq
  • Loading branch information
gares committed Jan 8, 2024
1 parent 6d94efa commit be04179
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/tc/theories/tc.v
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ Elpi Accumulate File solver.
Elpi Query lp:{{
sigma Options\
all-options Options,
std.forall Options (x\ sigma L\ x L,
coq.option.add L (coq.option.bool ff) ff).
std.forall Options (x\ sigma L\ x L,
if (coq.option.available? L _)
true
(coq.option.add L (coq.option.bool ff) ff)).
}}.
Elpi Typecheck.

Expand Down

0 comments on commit be04179

Please sign in to comment.