[GHC] #15791: typeKind confuses Type and Constraint

GHC ghc-devs at haskell.org
Fri Oct 26 14:57:32 UTC 2018


#15791: typeKind confuses Type and Constraint
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Branch:
       Wiki Page:                    |  wip/T15791
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > Maybe you were thinking that t1 => t2 has the kind of t2? That wouldn't
 work.

 Yes, that's what the code currently says.  OK; now I think I see what to
 do.

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


More information about the ghc-tickets mailing list