[GHC] #9858: Typeable instances should be kind-aware

GHC ghc-devs at haskell.org
Wed Apr 1 16:48:44 UTC 2015


#9858: Typeable instances should be kind-aware
-------------------------------------+-------------------------------------
        Reporter:  dreixel           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.9
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D652
-------------------------------------+-------------------------------------

Comment (by goldfire):

 You've hit smack into a blind spot of a dark corner of GHC's type system:
 `*` and `Constraint` are actually considered interchangeable in Core. So
 this failure isn't terribly surprising. But it's indeed a bug. I don't
 think it should be too hard to fix.

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


More information about the ghc-tickets mailing list