[GHC] #12557: Regression in type inference with RankNTypes

GHC ghc-devs at haskell.org
Fri Sep 2 17:53:26 UTC 2016


#12557: Regression in type inference with RankNTypes
-------------------------------------+-------------------------------------
        Reporter:  slindley          |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  low               |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |             Keywords:
      Resolution:  invalid           |  ImpredicativeTypes
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Yes, that error message is unfortunate. But I agree with 8.0 that your
 code should be rejected. I have filed #12563 requesting an error message
 improvement.

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


More information about the ghc-tickets mailing list