[GHC] #14341: Show instance for TypeReps is a bit broken

GHC ghc-devs at haskell.org
Mon Oct 15 21:43:20 UTC 2018


#14341: Show instance for TypeReps is a bit broken
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Core Libraries    |              Version:  8.2.1
      Resolution:                    |             Keywords:  Typeable
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4084,
       Wiki Page:                    |  Phab:D5080
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"846fe90464a1916df4ea72659255963a596eec84/ghc"
 846fe904/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="846fe90464a1916df4ea72659255963a596eec84"
 Typeable: Only render saturated tuple types with tuple syntax

 This isn't as efficient as it could be since it needs to compute the
 kind of the type. However, this is `show` so there shouldn't be any
 particular expectation of speed.

 Fixes #14341.

 Test Plan: Validate

 Reviewers: hvr

 Subscribers: monoidal, rwbarton, carter

 GHC Trac Issues: #14341

 Differential Revision: https://phabricator.haskell.org/D5080
 }}}

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


More information about the ghc-tickets mailing list