Opened 12 years ago

Closed 12 years ago

Last modified 47 years ago

#291 closed bug (Fixed)

tupleTypeName refers nonexistent "GHC.Tuple"

Reported by: nobody Owned by: simonpj
Priority: normal Milestone:
Component: Template Haskell Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


tupleTypeName n returns GHC.Tuple.(,...), but GHC.Tuple
doesn't exist. 
---Syntax.hs: line 408-412
mk_tup_name n_commas space
  = Name occ (NameG space tup_mod)
    occ = mkOccName ('(' : replicate n_commas ',' ++ ")")
    tup_mod = mkModName "GHC.Tuple"

Change History (1)

comment:1 Changed 12 years ago by simonpj

  • Status changed from assigned to closed
Logged In: YES 

Fixed, thank you.  There's a test in th/TH_tuple1

Note: See TracTickets for help on using tickets.