Skip to content

Commit 10ebb1f

Browse files
committed
typo
1 parent 5b0cea5 commit 10ebb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elpi/coq-lib.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ coq.term->gref (global GR) GR :- !.
510510
coq.term->gref (pglobal GR _) GR :- !.
511511
coq.term->gref (app [Hd|_]) GR :- !, coq.term->gref Hd GR.
512512
coq.term->gref (let _ _ T x\x) GR :- !, coq.term->gref T GR.
513-
coq.term->gref (primitive (proj Proj _)) GR :- !, primitive-projection? Proj GR.
513+
coq.term->gref (primitive (proj Proj _)) (const C) :- coq.env.primitive-projection? Proj C, !.
514514
:name "term->gref:fail"
515515
coq.term->gref Term _ :-
516516
fatal-error-w-data "term->gref: input has no global reference" Term.

0 commit comments

Comments
 (0)