Ticket #1037 (closed bug: fixed)
primRepHint:VoidRep
| Reported by: | igloo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.1 |
| Component: | Compiler (FFI) | Version: | 6.6 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | ccfail001 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
