[GHC] #15795: Core lint error with visible kind patterns

GHC ghc-devs at haskell.org
Mon Dec 10 17:08:30 UTC 2018


#15795: Core lint error with visible kind patterns
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by goldfire):

 * keywords:  TypeApplications => TypeInType
 * cc: mnguyen (removed)


Comment:

 This has nothing to do with visible kind application. This fails the same
 way:

 {{{#!hs
 data (×) :: forall (cat1 :: Cat ob1) (cat2 :: Cat ob2). Cat (ob1, ob2)
 where
   Prod
     :: forall
          ob1  ob2
          cat1 cat2
          a1   b1
          a2   b2 u.
        cat1 a1 b1
     -> cat2 a2 b2
     -> (×) '((a1 :: u), a2) '(b1, b2)
 }}}

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


More information about the ghc-tickets mailing list