Ticket #3850 (closed merge: fixed)
EmptyDataDecls and type context
Description
the following code fails to parse correctly or typecheck under 6.12.1
{-# LANGUAGE EmptyDataDecls #-}
data Show a => Foo a
error:
No context is allowed on a GADT-style data declaration
(You can put a context on each contructor, though.)
it works with 6.10.
this is the reason of HList failure on 6.12.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

