[GHC] #10141: Kind inference regression in closed type families

GHC ghc-devs at haskell.org
Fri Mar 6 17:16:05 UTC 2015


#10141: Kind inference regression in closed type families
-------------------------------------+-------------------------------------
              Reporter:  goldfire    |             Owner:  goldfire
                  Type:  bug         |            Status:  new
              Priority:  highest     |         Milestone:  7.10.1
             Component:  Compiler    |           Version:  7.10.1-rc2
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Take the following definition:

 {{{
 type family G (a :: k) where
    G Int  = Bool
    G Bool = Int
    G a    = a
 }}}

 It compiles in 7.8.3, but not in 7.10.1 RC2. This makes me sad. I will
 fix.

 (Found by Jan Stolarek.)

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


More information about the ghc-tickets mailing list