[GHC] #4347: Bug in unification of polymorphic and not-yet-polymorphic type

GHC ghc-devs at haskell.org
Sun Nov 30 19:23:36 UTC 2014


#4347: Bug in unification of polymorphic and not-yet-polymorphic type
-------------------------------------+-------------------------------------
              Reporter:  dolio       |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.1
  (Type checker)                     |         Keywords:
            Resolution:              |     Architecture:  x86_64 (amd64)
      Operating System:  Linux       |       Difficulty:  Unknown
       Type of failure:  GHC         |       Blocked By:
  rejects valid program              |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * difficulty:   => Unknown


Comment:

 With HEAD, the example from the description works (fails with 7.8.3). I
 don't know if this is incidental, or if anything got really fixed?

 {{{
 $ ghci -XRankNTypes
 GHCi, version 7.9.20141125: ...
 Prelude> let f = id :: (forall a. a) -> (forall b. b)
 Prelude>
 }}}

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


More information about the ghc-tickets mailing list