[GHC] #15862: Panic with promoted types that Typeable doesn't support

GHC ghc-devs at haskell.org
Fri Nov 9 21:16:31 UTC 2018


#15862: Panic with promoted types that Typeable doesn't support
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:  Typeable
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 This also fails

 {{{#!hs
 data Bar where
   MkBar :: forall (a :: F Int). a -> Bar
 }}}

 but this succeeds

 {{{#!hs
 data Bar where
   MkBar :: (a :: F Int) -> Bar
 }}}

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


More information about the ghc-tickets mailing list