[project @ 2001-12-07 07:37:43 by sof]
authorsof <unknown>
Fri, 7 Dec 2001 07:37:43 +0000 (07:37 +0000)
committersof <unknown>
Fri, 7 Dec 2001 07:37:43 +0000 (07:37 +0000)
commit2427987977bc68edacd7b552909bfdb264884b85
tree34c8fb551286b9bb7232dd5b7b37699892897fab
parent8408f31662e0db548650b3aacff39a324cb9e296
[project @ 2001-12-07 07:37:43 by sof]
Tidyup - previous instance-decl commit fell a bit short:

 * RnEnv.lookupInstDeclBndr unceremoniously fell over when passed
   an out-of-scope class name.

 * the AvailEnv carried around didn't common up type/class info
   (i.e.,  AvailTCs), but rather type/class and method/label names,
   causing the renamer to (semi)randomly report instance methods as
   being out-of-scope in the presence of multiple imports for a module.

 * didn't support 'hiding' of class / method names (for the purposes
   of checking instance decls).
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnNames.lhs