[GHC] #15229: Run typeCheckResultAction and renamedResultAction in TcM rather than Hsc

GHC ghc-devs at haskell.org
Fri Jun 8 00:09:52 UTC 2018


#15229: Run typeCheckResultAction and renamedResultAction in TcM rather than Hsc
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  mpickering
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:  fixed             |             Keywords:  plugins
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4792
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"dc8c03b2a5c70d3169e88d407f3ef28e0cb26af5/ghc" dc8c03b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="dc8c03b2a5c70d3169e88d407f3ef28e0cb26af5"
 Run typeCheckResultAction and renamedResultAction in TcM rather than Hsc

 The primary motivation for this is that this allows users to access
 the warnings and error machinery present in TcM. However, it also allows
 users to use TcM actions which means they can typecheck GhcPs which
 could be significantly easier than constructing GhcTc.

 Reviewers: bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15229

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

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


More information about the ghc-tickets mailing list