Fix Trac #3092
authorsimonpj@microsoft.com <unknown>
Mon, 16 Mar 2009 16:40:49 +0000 (16:40 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 16 Mar 2009 16:40:49 +0000 (16:40 +0000)
commitcc9a63c2552d74abc1fefae647aeba062ea76b71
tree22645038ea2f4d59773a54523dce210fd0aadc8d
parent0ae16401a0c73548ba4c08f588174f618c363a73
Fix Trac #3092

We were't checking that a 'data/type instance' was extending a family
type constructor.

Merge to 6.10 if we ever release 6.10.3 (or do it for 6.10.2).
compiler/typecheck/TcTyClsDecls.lhs