[project @ 1999-12-07 15:03:08 by simonpj]
authorsimonpj <unknown>
Tue, 7 Dec 1999 15:03:09 +0000 (15:03 +0000)
committersimonpj <unknown>
Tue, 7 Dec 1999 15:03:09 +0000 (15:03 +0000)
commit368eac75c490ef75495c48d4f98ce55865604d12
tree0ddd30eab7c98cee86e3f489f05ad2bbd48e9d2c
parent6fb805e5006947372e4ad03889ab447cb857d125
[project @ 1999-12-07 15:03:08 by simonpj]
Derived instances should use *source* types not *representation*
types when doing their deriving stuff.  This bug prevented

data F = F !Int deriving (Eq)

from working when -funbox-strict-fields was on

Simon
ghc/compiler/basicTypes/DataCon.lhs
ghc/compiler/typecheck/TcGenDeriv.lhs