[GHC] #15295: Haddock options should be concatened

GHC ghc-devs at haskell.org
Wed Jun 20 18:01:58 UTC 2018


#15295: Haddock options should be concatened
-------------------------------------+-------------------------------------
           Reporter:  sjakobi        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.8.1
          Component:  Compiler       |           Version:  8.5
           Keywords:  haddock        |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently we have the following situation:

 1. If we have an `OPTIONS_HADDOCK` pragma, any CLI options from `-haddock-
 opts` are ignored
 2. If there are multiple `OPTIONS_HADDOCK` pragmas, only the last one is
 remembered.

 Instead all options should be concatenated (with `, `), with the CLI
 options at the end.

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


More information about the ghc-tickets mailing list