[GHC] #11690: stage 1 compiler silently ignores plugins

GHC ghc-devs at haskell.org
Fri Jun 17 08:29:08 UTC 2016


#11690: stage 1 compiler silently ignores plugins
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  osa1
            Type:  feature request   |               Status:  patch
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      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:D2334
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ömer Sinan Ağacan <omeragacan@…>):

 In [changeset:"930a525a5906fdd65ab0c3e804085d5875517a20/ghc"
 930a525a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="930a525a5906fdd65ab0c3e804085d5875517a20"
 Abort the build when a Core plugin pass is specified in stage1 compiler

 This also makes the behavior the same with frontend plugin errors --
 frontend was failing with an exception (`CmdLineError`) while the
 simplifier was just ignoring plugins. Now we abort with `CmdLineError`
 in both cases with a slightly improved error message.

 Test Plan:
 - add tests (will add tests once #12197 is implemented)
 - validate (done)

 Reviewers: austin, bgamari

 Subscribers: thomie

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

 GHC Trac Issues: #11690
 }}}

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


More information about the ghc-tickets mailing list