Mon Sep 18 19:19:10 EDT 2006 Manuel M T Chakravarty <chak@cse.unsw.edu.au>
* Better error message for indexes that must be variables
Wed Aug 30 20:21:33 EDT 2006 Manuel M T Chakravarty <chak@cse.unsw.edu.au>
* Better error message for indexes that must be variables
quotes (ppr name)
mustBeVarArgErr ty =
- sep [ ptext SLIT("Arguments that do not correspond to a class parameter")
- , ptext SLIT("must be variables:") <+> ppr ty
+ sep [ ptext SLIT("Arguments that do not correspond to a class parameter") <+>
+ ptext SLIT("must be variables")
+ , ptext SLIT("Instead of a variable, found") <+> ppr ty
]
wrongATArgErr ty instTy =