[GHC] #12513: Template Haskell boxes singleton unboxed tuples when splicing them

GHC ghc-devs at haskell.org
Mon Aug 22 22:33:47 UTC 2016


#12513: Template Haskell boxes singleton unboxed tuples when splicing them
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |            Test Case:  th/T12513
      Blocked By:                    |             Blocking:
 Related Tickets:  #5332             |  Differential Rev(s):  Phab:D2462
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Well, yes. They should both be merged or neither. I favor "neither"...
 unless it's important for your work that they be merged. As a heavy TH
 user, I've worked around a bunch of TH bugs to get th-desugar and
 singletons working, and a fix like this between major releases would cause
 me a headache. (Not in this particular case, though.)

 That said, perhaps no one other than you has hit these bugs, in which case
 it's safe to merge. I leave it to your judgment, based on how it would
 affect your work if these were not merged until 8.2.

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


More information about the ghc-tickets mailing list