[GHC] #16154: -Wredundant-constraints: False positive

GHC ghc-devs at haskell.org
Thu Jan 31 00:36:06 UTC 2019


#16154: -Wredundant-constraints: False positive
-------------------------------------+-------------------------------------
        Reporter:  fumieval          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.6.3
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #15813            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Fuuzetsu):

 I think an improvement would be to be able to disable the warning for the
 single function rather than module-wide. This way it can also serve as
 sort of a documentation thing.

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


More information about the ghc-tickets mailing list