Skip to content

Commit

Permalink
Locality can be charged to coq.elpi.add-predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
FissoreD committed Nov 9, 2023
1 parent cddb738 commit 2812b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tc/elpi/create_tc_predicate.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pred declare-class-in-coq i:gref.
declare-class-in-coq ClassGR :-
attr->modes CoqModes,
if (CoqModes = []) true
(@global! => coq.hints.add-mode ClassGR "typeclass_instances" CoqModes),
(coq.hints.add-mode ClassGR "typeclass_instances" CoqModes),
% CAVEAT: this triggers the observer
coq.TC.declare-class ClassGR,
attr->search-mode SearchMode,
Expand Down

0 comments on commit 2812b72

Please sign in to comment.