[GHC] #15273: Datatypes with CUSKs should quantify over unknown kinds

GHC ghc-devs at haskell.org
Sat Jun 16 01:33:04 UTC 2018


#15273: Datatypes with CUSKs should quantify over unknown kinds
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4845
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <rae@…>):

 In [changeset:"12794287174146f982257cdeffd491e3e23838dc/ghc" 1279428/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="12794287174146f982257cdeffd491e3e23838dc"
 Quantify unfixed kind variables in CUSKs

 This is a small change in user-facing behavior. When we
 have a unification variable left over in a CUSK, we previously
 would issue an error. But, we can just quantify. This also
 teaches kcLHsQTyVars to use quantifyTyVars instead of its own,
 ad-hoc quantification scheme.

 Fixes #15273.

 test case: polykinds/T11648b
 }}}

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


More information about the ghc-tickets mailing list