#8101: No pattern match non-exhaustiveness warnings when compiling with -fno-code -------------------------------------------------+------------------------- Reporter: exbb2 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect warning at | Unknown/Multiple compile-time | Difficulty: Test Case: | Unknown Blocking: | Blocked By: | Related Tickets: -------------------------------------------------+------------------------- Comment (by ian@…): commit b475be321106f79da115ae203a5a27fabfbb80d8 {{{ Author: Ian Lynagh <ian@well-typed.com> Date: Sun Jul 28 17:01:50 2013 +0100 desugar code even when -fno-code is used; fixes #8101 We need to desugar the code, or we don't get the warnings from the desugarer. compiler/deSugar/Desugar.lhs | 7 +------ compiler/main/HscMain.hs | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8101#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler