Skip to content

Commit 1226ab9

Browse files
committed
fix: badly scoped pi
1 parent 43dbc5c commit 1226ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hb.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ mk-phant-implicit N Ty PF (phant-term [implicit-arg|AL] (fun N Ty F)) :- !,
585585
pred mk-phant-struct i:term, i:term, i:(term -> phant-term), o:phant-term.
586586
mk-phant-struct T SI PF (phant-term [implicit-arg, unify-arg|AL] UF) :-
587587
get-structure-sort-projection SI Sort,
588-
pi s\ PF s = phant-term AL (F s),
588+
(pi s\ PF s = phant-term AL (F s)),
589589
UF = {{fun (s : lp:SI) (u : lib:hb.unify lp:T (lp:Sort s)
590590
(lib:hb.some (lib:hb.pair "is not canonically a"%string lp:SI)))
591591
=> lp:(F s)}}.

0 commit comments

Comments
 (0)