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

GHC ghc-devs at haskell.org
Mon Jan 14 08:44:35 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:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > That makes sense... Should I just disable the warning if such usecase is
 involved?

 I suppose so. I don't know a better path at the moment -- the warning IS
 often useful, so I'm reluctant to get rid of it.

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


More information about the ghc-tickets mailing list