Give -foverlapping-instances to Data.Typeable
authorsimonpj@microsoft <unknown>
Mon, 6 Feb 2006 13:34:39 +0000 (13:34 +0000)
committersimonpj@microsoft <unknown>
Mon, 6 Feb 2006 13:34:39 +0000 (13:34 +0000)
commitce3fd0e02826367e6134a3362d8d37aa114236f5
tree9f3425c14dc59c46255d3fd500e1e14707ace158
parentedd9a0fa84a15c7a946ae79c0b7f9464a25e3ad6
Give -foverlapping-instances to Data.Typeable

For some time, GHC has made -fallow-overlapping-instances "sticky":
any instance in a module compiled with -fallow-overlapping-instances
can overlap when imported, regardless of whether the importing module
allows overlap.  (If there is an overlap, both instances must come from
modules thus compiled.)

Instances in Data.Typeable might well want to be overlapped, so this
commit adds the flag to Data.Typeable (with an explanatory comment)
libraries/base/Data/Typeable.hs