[GHC] #5409: Language.Haskell.TH.Syntax.tupleDataName wrong for unit

GHC cvs-ghc at haskell.org
Fri Aug 12 16:25:11 CEST 2011


#5409: Language.Haskell.TH.Syntax.tupleDataName wrong for unit
---------------------------------+------------------------------------------
    Reporter:  NeilMitchell      |       Owner:                             
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Component:  Template Haskell           
     Version:  7.1               |    Keywords:                             
    Testcase:                    |   Blockedby:                             
          Os:  Unknown/Multiple  |    Blocking:                             
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------
 {{{tupleDataName 0}}} generates the name {{{GHC.Tuple.()}}}, but that's
 wrong, it should be {{{GHC.Unit.()}}} (even worse, the source code
 actually has {{{-- XXX Should it be GHC.Unit for 0 commas?}}} - which is a
 correct observation)

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



More information about the Glasgow-haskell-bugs mailing list