[haddock] #112: references to names with '#' in them do not work in markup

haddock haddock at projects.haskell.org
Sat Apr 10 06:56:12 EDT 2010


#112: references to names with '#' in them do not work in markup
-------------------+--------------------------------------------------------
Reporter:  duncan  |        Owner:        
    Type:  defect  |       Status:  closed
Priority:  major   |    Milestone:  2.8.0 
 Version:  2.4.2   |   Resolution:  fixed 
Keywords:          |  
-------------------+--------------------------------------------------------
Changes (by waern):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  2.5.0 => 2.8.0

Comment:

 Fixed by this patch:

 {{{
 Sat Apr 10 12:46:14 CEST 2010  David Waern <david.waern at gmail.com>
   * Fix #112

   No link was generated for 'Addr#' in a doc comment. The reason was
 simply that
   the identifier didn't parse. We were using parseIdentifier from the GHC
 API,
   with a parser state built from 'defaultDynFlags'. If we pass the
 dynflags of
   the module instead, the right options are turned on on while parsing the
   identifer (in this case -XMagicHash), and the parse succeeds.
 }}}

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/112#comment:1>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list