t2'',subst,metasenv
| (_,_) ->
raise (NotRefinable (sprintf
- "Two types were expected, found %s (that reduces to %s) and %s (that reduces to %s)"
+ "Two sorts were expected, found %s (that reduces to %s) and %s (that reduces to %s)"
(CicPp.ppterm t1) (CicPp.ppterm t1'') (CicPp.ppterm t2)
(CicPp.ppterm t2'')))