[GHC] #12403: Template Haskell boxes tuple types when reifying them

#12403: Template Haskell boxes tuple types when reifying them -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Template | Version: 8.0.1 Haskell | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Incorrect result Unknown/Multiple | at runtime Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Example: {{{#!hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE UnboxedTuples #-} module Main where import Language.Haskell.TH data T = T (# Int, Int #) $(return []) main :: IO () main = putStrLn $(reify ''T >>= stringE . pprint) }}} {{{ $ /opt/ghc/8.0.1/bin/ghc -fforce-recomp Constraints.hs [1 of 1] Compiling Main ( Constraints.hs, Constraints.o ) Linking Constraints ... $ ./Constraints data Main.T = Main.T ((,,,) GHC.Types.Int GHC.Types.Int) }}} Patch coming soon. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying them -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.2 Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying them -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: patch Priority: normal | Milestone: 8.0.2 Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2405 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => patch * differential: => Phab:D2405 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying them
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 8.0.2
Component: Template Haskell | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2405
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ryan Scott

#12403: Template Haskell boxes unboxed tuple types when reifying 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: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2405 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: patch => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying 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: Incorrect result | Unknown/Multiple at runtime | Test Case: th/T12403 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2405 Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * testcase: => th/T12403 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying 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: Incorrect result | Unknown/Multiple
at runtime | Test Case: th/T12403
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2405
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ryan Scott

#12403: Template Haskell boxes unboxed tuple types when reifying them -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.2 Component: Template Haskell | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: th/T12403 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2405 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: merge => closed * resolution: => fixed Comment: I decided not to merge these per goldfire's advice [https://ghc.haskell.org/trac/ghc/ticket/12513#comment:6 here]. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying them
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 8.0.2
Component: Template Haskell | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case: th/T12403
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2405
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#12403: Template Haskell boxes unboxed tuple types when reifying them -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Template Haskell | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: th/T12403 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2405 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * milestone: 8.0.2 => 8.2.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12403#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12403: Template Haskell boxes unboxed tuple types when reifying them
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 8.2.1
Component: Template Haskell | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case: th/T12403
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2405
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari
participants (1)
-
GHC