[GHC] #15964: PartialTypeSignatures warnings should be turned off with -Wno-partial-type-signatures

GHC ghc-devs at haskell.org
Wed Nov 28 13:26:37 UTC 2018


#15964: PartialTypeSignatures warnings should be turned off with -Wno-partial-type-
signatures
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.3
          Component:  Compiler       |           Version:  8.6.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 Foo.hs:638:18: warning: [-Wpartial-type-signatures]
 }}}

 The warning when using `PartialTypeSignatures` suggests that the warning
 is enabled by `-Wpartial-type-signatures`. However, if you try and disable
 this warning using `-Wno-partial-type-signatures` then GHC complains that
 it is not a recognised flag. The correct way to turn it off is to use
 `-fno-warn-partial-signatures`. It seems that for consistency the first
 way that I tried should also work.

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


More information about the ghc-tickets mailing list