[GHC] #10047: inconsistency in name binding between splice and quasiquotation

GHC ghc-devs at haskell.org
Wed Sep 2 13:39:26 UTC 2015


#10047: inconsistency in name binding between splice and quasiquotation
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  spinda
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Template Haskell  |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:  th/T10047
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D1199
-------------------------------------+-------------------------------------

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

 In [changeset:"c8f623e305ec0a51ac2406a1f754d244e05b96f5/ghc"
 c8f623e3/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c8f623e305ec0a51ac2406a1f754d244e05b96f5"
 Expand declaration QQs first (#10047)

 Declaration QuasiQuoters do not cause a group split like $(...)
 splices, and are run and expanded before other declarations in
 the group.

 Resolves the lingering issue with #10047, and fixes broken tests
 qq007 and qq008.

 Test Plan: validate

 Reviewers: goldfire, austin, bgamari

 Reviewed By: bgamari

 Subscribers: goldfire, simonpj, thomie, spinda

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

 GHC Trac Issues: #10047
 }}}

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


More information about the ghc-tickets mailing list