[GHC] #11051: GHCi with +t option set shows type representations

GHC ghc-devs at haskell.org
Tue Jan 19 08:00:25 UTC 2016


#11051: GHCi with +t option set shows type representations
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      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:D1794
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"d2ea7f94cb21662857cd50c95ff41943e5911a9b/ghc" d2ea7f9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d2ea7f94cb21662857cd50c95ff41943e5911a9b"
 Hide derived OccNames from user

 This hides derived OccNames from the Names returned from
 runDeclsWithLocation and clarifies the documentation. This is done to
 ensure that these names (originating from, e.g., derived Generic
 instances and type representation bindings) don't show up in ghci output
 when run with `:set +t`. This fixes #11051.

 Test Plan: Validate with included tests

 Reviewers: austin

 Reviewed By: austin

 Subscribers: thomie, hvr

 Differential Revision: https://phabricator.haskell.org/D1794

 GHC Trac Issues: #11051
 }}}

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


More information about the ghc-tickets mailing list