[GHC] #13776: -ddump-splices produces unnecessarily qualified names for tuple and list types

GHC ghc-devs at haskell.org
Mon Mar 19 16:40:35 UTC 2018


#13776: -ddump-splices produces unnecessarily qualified names for tuple and list
types
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  mrkgnao
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4506
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"9868f91fd9f04fdee241df69ae826feeae89a0b6/ghc"
 9868f91f/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9868f91fd9f04fdee241df69ae826feeae89a0b6"
 Turn a TH Name for built-in syntax into an unqualified RdrName

 Previously, the Renamer would turn any fully qualified Template Haskell
 name into a corresponding fully qualified `RdrName`. But this is not
 what we want for built-in syntax, as it produces unnecessarily qualified
 names (eg. GHC.Types.[], GHC.Tuple.(,) etc.).

 Test Plan: ./validate

 Reviewers: RyanGlScott, bgamari, goldfire

 Reviewed By: RyanGlScott, bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #13776

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

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


More information about the ghc-tickets mailing list