[GHC] #13421: Confusing error when using BangPatterns without pragma
GHC
ghc-devs at haskell.org
Tue Mar 14 01:10:07 UTC 2017
#13421: Confusing error when using BangPatterns without pragma
-------------------------------------+-------------------------------------
Reporter: schyler | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Poor/confusing | Unknown/Multiple
error message | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by schyler):
Would be nice if it said something like "Perhaps you meant to use
-XBangPatterns?" like it does for all the type-level errors where you
forget to use the pragma.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13421#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list