primRepHint:VoidRep
Compiling this module:
module Q where
import GHC.Base
type World__ = State# RealWorld
foreign import ccall unsafe "putwchar" f :: World__ -> Char# -> World__
with ghc -fglasgow-exts -O Q.hs
panics:
ghc-6.6: panic! (the 'impossible' happened)
(GHC version 6.6 for x86_64-unknown-linux):
primRepHint:VoidRep
It looks like we need a !VoidHint if we want to support this.
Reported by John Meacham in http://www.haskell.org/pipermail/glasgow-haskell-users/2006-November/011658.html
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (FFI) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |