
#10600: -fwarn-incomplete-patterns doesn't work with -fno-code -------------------------------------+------------------------------------- Reporter: akio | Owner: ezyang Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: driver/T8101b Blocked By: | Blocking: Related Tickets: #8101 | Differential Rev(s): Phab:D1278 -------------------------------------+------------------------------------- Comment (by bgamari): We discussed this during the weekly meeting; no one was terribly excited about any of the alternatives, * Fix `GHC.Prim` to pass Core Lint (perhaps not even possible) * Add a special case to skip desugaring for `GHC.Prim` * Add a special case to skip Core Linting `GHC.Prim` * Disable Core Linting when not generating code * Add a command line option to specifically disable desugaring (which could be used by Haddock) The point also came up that we should really try to avoid desugaring when invoked by Haddock as this is otherwise wasted effort. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10600#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler