#1257: Bytecode generator can't handle unboxed tuples
------------------------+---------------------------------------------------
    Reporter:  igloo    |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Milestone:  6.8     
   Component:  GHCi     |     Version:  6.6     
    Severity:  normal   |    Keywords:          
  Difficulty:  Unknown  |    Testcase:  dsrun014
Architecture:  Unknown  |          Os:  Unknown 
------------------------+---------------------------------------------------
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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1257>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to