Skip to content

Commit 612ccc5

Browse files
authored
Merge pull request #483 from math-comp/fix-monae
Funclass can be dependent
2 parents 448b4e2 + d74dbb3 commit 612ccc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HB/common/synthesis.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pred infer-coercion-tgt i:mixins, o:class.
153153
infer-coercion-tgt (w-params.cons ID Ty F) CoeClass :-
154154
@pi-parameter ID Ty x\ infer-coercion-tgt (F x) CoeClass.
155155
infer-coercion-tgt (w-params.nil _ {{ Type }} _) sortclass.
156-
infer-coercion-tgt (w-params.nil _ {{ _ -> _ }} _) funclass.
156+
infer-coercion-tgt (w-params.nil _ {{ forall x, _ }} _) funclass. % do not use {{ _ -> _ }} since Funclass can be a dependent function!
157157
infer-coercion-tgt (w-params.nil _ T _) (grefclass GR) :- coq.term->gref T GR.
158158

159159
pred w-args.check-key i:list term, i:term, i:list (w-args A), o:prop.

0 commit comments

Comments
 (0)