Ticket #1257 (closed bug: wontfix)
Bytecode generator can't handle unboxed tuples
| Reported by: | igloo | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 7.4.1 |
| Component: | GHCi | Version: | 6.6 |
| Keywords: | Cc: | michal.terepeta@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | dsrun014 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
We need to implement unboxed tuple support in ghci.
For example, with:
f :: a -> b -> (# a, b #) f x y = (# x, y #)
we get:
$ ghci -v0 -fglasgow-exts w.hs
ghc-6.6: panic! (the 'impossible' happened)
(GHC version 6.6 for x86_64-unknown-linux):
Bytecode generator can't handle unboxed tuples. Possibly due
to foreign import/export decls in source. Workaround:
compile this module to a .o file, then restart session.
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Change History
Note: See
TracTickets for help on using
tickets.
