Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Oct 1, 2020
1 parent 24fffd3 commit 4db1a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hb.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ prod-src-is-factory Ty :- whd1 Ty Ty1, !, prod-src-is-factory Ty1.

pred ty-deps i:term, o:list-w-params mixinname.
ty-deps Ty ML :- ty-deps.aux Ty ML, !.
ty-deps (prod N T _) (w-params.nil N T _\[]) :- T = {{Type}}, !.
ty-deps (prod N T _) (w-params.nil N T _\[]) :- T = {{Type}}, !. % TODO: relax to any type later on.
ty-deps T _ :- % TODO: forall p1 ... pn (T : indexed Type) with indexed being the id function
coq.error "ty-deps: BUG: could not get the parameters and the dependencies of"
{coq.term->string T}.
Expand Down

0 comments on commit 4db1a57

Please sign in to comment.