[GHC] #10382: Template Haskell (non-quasi) quotes should work with stage 1 compiler

GHC ghc-devs at haskell.org
Fri Feb 26 11:22:28 UTC 2016


#10382: Template Haskell (non-quasi) quotes should work with stage 1 compiler
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  high              |            Milestone:  8.0.1
       Component:  Template Haskell  |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D876
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"bbfff2298d7ea7d0f4e590f8137f43a651e8f61d/ghc"
 bbfff229/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="bbfff2298d7ea7d0f4e590f8137f43a651e8f61d"
 Unconditionally handle TH known key names.

 Previously, we didn't add Template Haskell key names to the list
 of known uniques when building a stage 1 compiler.  But with
 f16ddcee0c64a92ab911a7841a8cf64e3ac671fd we may refer to TH
 names even in stage 1, and this was causing uniques to not
 be setup properly.

 Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>

 Test Plan: validate and run stage1 test suite

 Reviewers: osa1, austin, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

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

 GHC Trac Issues: #10382
 }}}

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


More information about the ghc-tickets mailing list