[GHC] #11948: GHC forgets constraints

GHC ghc-devs at haskell.org
Fri Apr 22 10:32:50 UTC 2016


#11948: GHC forgets constraints
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  7.10.3
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  typecheck/should_fail/T11948
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * testcase:   => typecheck/should_fail/T11948
 * status:  new => closed
 * resolution:   => fixed


Comment:

 OK I've added a warning for simplifiable class constraints.

 I anticipate a discussion about whether it should be on by default, but
 currently it is.

 Simon

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


More information about the ghc-tickets mailing list