[GHC] #10600: -fwarn-incomplete-patterns doesn't work with -fno-code

GHC ghc-devs at haskell.org
Sun May 7 17:39:26 UTC 2017


#10600: -fwarn-incomplete-patterns doesn't work with -fno-code
-------------------------------------+-------------------------------------
        Reporter:  akio              |                Owner:  ezyang
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  7.10.1
      Resolution:                    |             Keywords:
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
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 Is there a conceptual problem of moving the pattern match checker to the
 end of typechecking? There is the additional fiddlyness to make sure all
 pattern occurrences are checked but this seems preferable than making
 `-fno-code` slower for everyone.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10600#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list