
#8815: confusing language in error message -------------------------------------+------------------------------------ Reporter: carter | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by schyler): Most of the other error messages of this form mention the extensions in command line form, i.e. -XGADTs or -XTypeFamilies. Maybe it would be better to keep the error nice and short like so; `A pattern match on a GADT requires -XGADTs or -XTypeFamilies` The `-X` is uniform with all the other errors, and this hints an extension. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8815#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler