[GHC] #10935: More unused and non-deprecated warning flags

GHC ghc-devs at haskell.org
Mon Oct 12 16:06:02 UTC 2015


#10935: More unused and non-deprecated warning flags
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  bernalex
            Type:  task              |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10752, #8176     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"f8fbf385b879fe177409a25cc9499275ea3dc45d/ghc"
 f8fbf385/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f8fbf385b879fe177409a25cc9499275ea3dc45d"
 Reinstate monomorphism-restriction warnings

 This patch is driven by Trac #10935, and reinstates the
 -fwarn-monomorphism-restriction warning.  It was first lost in 2010:
 d2ce0f52d "Super-monster patch implementing the new typechecker -- at
 last"

 I think the existing documentation is accurate; it is not even
 turned on by -Wall.

 I added one test.
 }}}

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


More information about the ghc-tickets mailing list