[GHC] #13555: Typechecker regression when combining PolyKinds and MonoLocalBinds

GHC ghc-devs at haskell.org
Mon Apr 10 14:34:24 UTC 2017


#13555: Typechecker regression when combining PolyKinds and MonoLocalBinds
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Ah, I suppose you mean in the instance signature:

 {{{#!hs
 instance CRTrans Maybe (GF fp d) where
   crtInfo :: forall (m :: k) . (Reflects m Int) => TaggedT m Maybe
 (CRTInfo (GF fp d))
   crtInfo = undefined
 }}}

 i.e., changing `forall m` to `forall (m :: k)`.

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


More information about the ghc-tickets mailing list