Ticket #2114 (closed merge: fixed)
Bad error message for omitting -XExistentialQuantification flag
Description
If I compile this program:
module Foo where data T = forall a . MkT a
with:
ghc-6.8.1 extest.hs -c
I get the error:
extest.hs:3:9: Not a constructor: `forall'
I think it would be a better error message to suggest passing in the -XExistentialQuantification flag.
Change History
Note: See
TracTickets for help on using
tickets.
