[GHC] #11579: Bug in parser for named Haddock chunks since GHC 8.0.1-rc1

GHC ghc-devs at haskell.org
Tue Feb 16 08:24:44 UTC 2016


#11579: Bug in parser for named Haddock chunks since GHC 8.0.1-rc1
-------------------------------------+-------------------------------------
        Reporter:  SimonHengel       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1-rc2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by darchon):

 As I reported on the doctest github issue tracker,
 https://github.com/sol/doctest/issues/117, named sections using multi-line
 comments still work, where:

 {{{
 {- $bar some
    named chunk
 -}
 }}}

 results in:

 {{{
 *Extract> extractDocStrings
 [" some\n   named chunk\n"]
 }}}

 So it's only named sections using single-line comments that seem broken.

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


More information about the ghc-tickets mailing list