[project @ 2005-08-10 11:05:06 by simonpj]
authorsimonpj <unknown>
Wed, 10 Aug 2005 11:05:08 +0000 (11:05 +0000)
committersimonpj <unknown>
Wed, 10 Aug 2005 11:05:08 +0000 (11:05 +0000)
commite3a4d6c36802d9395b40af1d9fb24cbd7ce2f720
treee4db19352f58d9993a727542e57a277ecd1862a2
parent31578e2242df87c362e1e976109dfcadf335df63
[project @ 2005-08-10 11:05:06 by simonpj]
It turned out that doing all binding dependency analysis in the typechecker
meant that the renamer's unused-binding error messages got worse.  So now
I've put the first dep anal back into the renamer, while the second (which
is specific to type checking) remains in the type checker.

I've also made the pretty printer sort the decls back into source order
before printing them (except with -dppr-debug).

Fixes rn041.
ghc/compiler/deSugar/DsExpr.lhs
ghc/compiler/hsSyn/HsBinds.lhs
ghc/compiler/hsSyn/HsUtils.lhs
ghc/compiler/rename/RnBinds.lhs
ghc/compiler/typecheck/TcBinds.lhs
ghc/compiler/typecheck/TcClassDcl.lhs
ghc/compiler/typecheck/TcHsSyn.lhs
ghc/compiler/typecheck/TcHsType.lhs