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)
commit8c358ce55bf3126f039c350a6769733be6f3178a
treefa6df9a8bc5189a6e7eafc0a484627f3e0152580
parent53bfe753263895cad52326c0f57956c2d1d0771e
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)
Data/Typeable.hs