Typeable on RealWorld fails
This,
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
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |