(TypeCheckerFailure
(lazy (Printf.sprintf
("Appl: wrong application of %s: the parameter %s has type"^^
- "\n%s\nbut it should have type \n%s\n")
+ "\n%s\nbut it should have type \n%s\nContext:\n%s\n")
(NCicPp.ppterm ~subst ~metasenv ~context he)
(NCicPp.ppterm ~subst ~metasenv ~context arg)
(NCicPp.ppterm ~subst ~metasenv ~context ty_arg)
- (NCicPp.ppterm ~subst ~metasenv ~context s))))
+ (NCicPp.ppterm ~subst ~metasenv ~context s)
+ (NCicPp.ppcontext ~subst ~metasenv context))))
| _ ->
raise
(TypeCheckerFailure