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

GHC ghc-devs at haskell.org
Mon Apr 20 22:29:18 UTC 2015


#9858: Typeable instances should be kind-aware
-------------------------------------+-------------------------------------
        Reporter:  dreixel           |                   Owner:
            Type:  bug               |                  Status:  merge
        Priority:  highest           |               Milestone:  7.10.2
       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:                    |  typecheck/should_fail/T9858a,
                                     |  should_run/T9858b
                                     |                Blocking:
                                     |  Differential Revisions:  Phab:D652
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Under the fix of comment:96, the line
 {{{
 g = f (Proxy :: Proxy (Eq Int => Int))
 }}}
 would be rejected because there is no `Typeable (Eq Int => Int)`.  So I
 think it looks fine as-is, don't you?

 Simon

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


More information about the ghc-tickets mailing list