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

GHC ghc-devs at haskell.org
Thu Nov 27 14:16:53 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 simonpj):

 Also you need `-fwarn-incomplete-record-updates` to see the warning; for
 some reason this flag is explicitly not in `-Wall` according to the user
 manual.

 Simon

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


More information about the ghc-tickets mailing list