[GHC] #10600: -fwarn-incomplete-patterns doesn't work with -fno-code
GHC
ghc-devs at haskell.org
Mon Aug 10 23:29:25 UTC 2015
#10600: -fwarn-incomplete-patterns doesn't work with -fno-code
-------------------------------------+-------------------------------------
Reporter: akio | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Incorrect | Test Case:
warning at compile-time | driver/T8101b
Blocked By: | Blocking:
Related Tickets: #8101 | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by ntc2):
This causes Emacs Flycheck to not warn for non-exhaustive patterns,
because it runs GHC with `-fno-code`:
https://github.com/flycheck/flycheck/issues/722.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10600#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list