[project @ 2003-11-03 15:26:22 by simonpj]
authorsimonpj <unknown>
Mon, 3 Nov 2003 15:26:23 +0000 (15:26 +0000)
committersimonpj <unknown>
Mon, 3 Nov 2003 15:26:23 +0000 (15:26 +0000)
commit37863eec8d97fc12d2ccb47d5eaf531ed0dff9ab
tree26e4cc5e270fb1a41cb23f1c620974f1899fd8e9
parentea7a05cd38ae85303e1b9efb2647c9658ea39c3c
[project @ 2003-11-03 15:26:22 by simonpj]
The generic to/from methods for derivable type classes should only
be generated for types in the current group, rather than all the
in-scope tycons.  Otherwise they get generated multiple times in
a Template-Haskell situation.
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/types/Generics.lhs