[GHC] #5720: Unit unboxed tuple behaving oddly

GHC cvs-ghc at haskell.org
Fri Dec 23 18:57:49 CET 2011


#5720: Unit unboxed tuple behaving oddly
---------------------------------+------------------------------------------
    Reporter:  simonpj           |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.2.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit ddeb70b333a94990dbdf432303cb1f10f2d3062d
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Fri Dec 23 16:01:51 2011 +0000

     Fix the behaviour of the unit unboxed tuple (# #)

     See Trac #5720: make the unit unboxed tuple (# #) behave uniformly
     with the unit boxed tuple ()

     This is actually a change in behaviour, but in a very dark corner,
     so I don't think this is going to hurt anyone, and the current
     behaviour is deeply strange.

  compiler/parser/Parser.y.pp     |   23 +++++++++++++++--------
  compiler/prelude/TysWiredIn.lhs |    8 +++++++-
  2 files changed, 22 insertions(+), 9 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5720#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list