[GHC] #5728: Warnings from -fwarn-incomplete-record-updates even with all constructors matched

GHC ghc-devs at haskell.org
Thu Nov 27 14:24:33 UTC 2014


#5728: Warnings from -fwarn-incomplete-record-updates even with all constructors
matched
-------------------------------------+-------------------------------------
              Reporter:  mjo         |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  ⊥
             Component:  Compiler    |          Version:  7.4.1
            Resolution:              |         Keywords:  warnings
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Incorrect   |       Blocked By:
  warning at compile-time            |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"a67ebbecfb10c91bb2793cb2f7d91f25aa23e493/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a67ebbecfb10c91bb2793cb2f7d91f25aa23e493"
 Resume reporting incomplete pattern matches for record updates

 They were being inadvertently suppressed, even if you said -fwarn-
 incomplete-record-updates

 See Trac #5728
 }}}

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


More information about the ghc-tickets mailing list