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

GHC ghc-devs at haskell.org
Wed Nov 28 14:26:24 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
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Replying to [ticket:15964 mpickering]:
 > However, if you try and disable this warning using `-Wno-partial-type-
 signatures` then GHC complains that it is not a recognised flag.

 Huh? I must be missing something obvious here, because I have no
 difficulties using the `-Wno-partial-type-signatures` flag:

 {{{
 $ ghci
 GHCi, version 8.6.2: http://www.haskell.org/ghc/  :? for help
 Loaded GHCi configuration from /home/ryanglscott/.ghci
 λ> :set -Wno-partial-type-signatures -XPartialTypeSignatures
 λ> f :: _ -> _; f x = x
 }}}

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


More information about the ghc-tickets mailing list