Ticket #5686 (closed bug: fixed)
'impossible' happened when deriving Functor on a type with a type family application
Description
The following should fail with an appropriate error message.
I discovered this by accident when I changed the definition of type 'U' and forgot to remove 'deriving Functor'.
> {-# LANGUAGE TypeFamilies, DeriveFunctor #-}
> data U a = U (G a) deriving Functor
>
> class A a where
> type G a
Change History
Note: See
TracTickets for help on using
tickets.
