[GHC] #8913: either bug or confusing error message mixing PolyKinds and TypeFamilies

GHC ghc-devs at haskell.org
Thu Mar 20 17:34:01 UTC 2014


#8913: either bug or confusing error message mixing PolyKinds and TypeFamilies
-------------------------------------+-------------------------------------
        Reporter:  ghorn             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler (Type    |          Version:  7.8.1-rc2
  checker)                           |         Keywords:  PolyKinds,
      Resolution:                    |  TypeFamilies
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by ghorn):

 A workaround for this is to put the "GCat" class in its own module
 (without PolyKinds), and make orphan instances of it where needed (with
 PolyKinds).

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


More information about the ghc-tickets mailing list