Skip to content

Commit

Permalink
[TC] avoid a backtrack
Browse files Browse the repository at this point in the history
  • Loading branch information
FissoreD committed Aug 20, 2024
1 parent 268a8b3 commit f348d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tc/elpi/link.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ namespace tc {
cs (uvar _ as V) (app [HD | _] as T) :-
if (HD = global (const Proj), tc.proj->record Proj Record)
(reduce-cs V T Record Proj)
(coq.unify-eq V T ok).
(coq.unify-eq V T ok), !.
cs T1 T2 :- not (T2 = app _), !, coq.unify-eq T1 T2 ok.

pred unify-under-ctx i:list term, i:list term, i:term, i:term, i:term, i:term.
Expand Down

0 comments on commit f348d07

Please sign in to comment.