[GHC] #12082: Typeable on RealWorld fails

GHC ghc-devs at haskell.org
Wed May 18 18:44:13 UTC 2016


#12082: Typeable on RealWorld fails
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 This,
 {{{#!hs
 import GHC.Prim
 import Data.Typeable
 main = print $ typeRep (Proxy :: Proxy RealWorld)
 }}}
 fails with,
 {{{
 ghc: panic! (the 'impossible' happened)
   (GHC version 8.0.0.20160421 for x86_64-unknown-linux):
         tyConRep RealWorld

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

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


More information about the ghc-tickets mailing list