patch applied (ghc): Improve error reporting for 'deriving'
Simon Peyton Jones
simonpj at microsoft.com
Wed Dec 31 11:00:25 EST 2008
Wed Dec 31 06:35:21 PST 2008 simonpj at microsoft.com
* Improve error reporting for 'deriving'
a) Improve the extra suggested fix when there's a "no instance"
error in a deriving clause.
b) Improve error location recording in tcInstDecl2
Many of the changes in tcInstDecl2 are simple reformatting.
M ./compiler/typecheck/TcDeriv.lhs -3 +1
M ./compiler/typecheck/TcInstDcls.lhs -77 +78
M ./compiler/typecheck/TcSimplify.lhs -11 +15
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081231143521-1287e-47bad85112d149ac73ccb5484506af70c2c11e30.gz
More information about the Cvs-ghc
mailing list