[GHC] #13632: Frontend plugin arguments are reversed

GHC ghc-devs at haskell.org
Thu May 4 22:22:33 UTC 2017


#13632: Frontend plugin arguments are reversed
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  GHC API           |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  frontend01
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"db10b79994f7728cbaaa906c6f6eda0b6783df29/ghc" db10b79/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="db10b79994f7728cbaaa906c6f6eda0b6783df29"
 Pass -ffrontend-opt arguments to frontend plugin in the correct order

 Previously they were passed in the reverse order that they're specified
 on the command line.

 Add a haddock to frontendPluginOpts in DynFlags.hs.

 Modify test frontend01 to cover the case of multiple -ffrontend-opt.

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #13632

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

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


More information about the ghc-tickets mailing list