[Haddock] [haddock] #207: haddock: internal error: spliceURL UnhelpfulSpan

haddock haddock at projects.haskell.org
Mon Jun 18 18:59:46 BST 2012

#207: haddock: internal error: spliceURL UnhelpfulSpan
Reporter:  selinger  |        Owner:        
    Type:  defect    |       Status:  new   
Priority:  major     |    Milestone:  2.10.0
 Version:  2.9.4     |   Resolution:        
Keywords:            |  

Comment(by selinger):

 Here is a further update. Sorry about the piecemeal format of this bug
 report; I can't seem to figure out how to edit my original description.

 * The problem doesn't seem to be caused by the --source-entity option per
 se, but rather by the use of %L in the --source-entity option. This is of
 course indispensable for getting source links to point to the correct
 source file locations.

 * The bug is present in both 2.9.4 and 2.10.0 when Haddock tries to
 generate documentation for a function that lacks a type signature.
 However, the difference is that 2.9.4 used to ignore such functions in the
 case of files having no export list, whereas 2.10.0 tries (and fails) to
 generate documentation anyway.

 The reason this comes up, and "just add a type signature" is not a viable
 option for me, is that I have functions that are automatically generated
 by Template Haskell, and they necessarily lack a type signature.

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

More information about the Haddock mailing list