[GHC] #15658: strange inferred kind with TypeInType

GHC ghc-devs at haskell.org
Wed Sep 19 19:16:26 UTC 2018


#15658: strange inferred kind with TypeInType
-------------------------------------+-------------------------------------
        Reporter:  dmwit             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.2
      Resolution:                    |             Keywords:  TypeInType,
                                     |  GHCProposal
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Replying to [comment:2 dmwit]:
 > So without the explicit kinding, I would expect ghci to give `G` the
 kind `forall a -> a`. But ghci does not agree:
 >
 > {{{
 > > :k G
 > G :: a
 > }}}

 That's due to a separate GHC bug, #14238, which has been fixed in GHC
 8.6.1.

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


More information about the ghc-tickets mailing list