[project @ 1999-08-20 13:12:18 by simonpj]
authorsimonpj <unknown>
Fri, 20 Aug 1999 13:12:21 +0000 (13:12 +0000)
committersimonpj <unknown>
Fri, 20 Aug 1999 13:12:21 +0000 (13:12 +0000)
commit2dad6b8373e3079ff11c4d40e2512755b525172b
treebbc37ab927d05e9b0033df2c0a237408141336dd
parent8701267283521ae27e52d2b90c5d240255e5fd76
[project @ 1999-08-20 13:12:18 by simonpj]
Change the renamer namesuppy for instance decls, so that
it is indexed by the class/tycon *string* rather than the
class/tycon pair. That way (C,TT) and (CT,T) both give
the string "CTT", and hence give a different unique.

An alternative would have been to use "C/TT" and "CT/T"
respectively, but that would mean obscure errors while everyone
remembered to recompile everything.  So this seems more direct.

Julian reported this bug.
ghc/compiler/basicTypes/OccName.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnMonad.lhs