[haddock] #138: Malformed or missing comments in files with #line directive

haddock haddock at projects.haskell.org
Wed Jul 7 23:56:19 EDT 2010


#138: Malformed or missing comments in files with #line directive
----------------------+-----------------------------------------------------
Reporter:  jmillikin  |       Owner:       
    Type:  defect     |      Status:  new  
Priority:  major      |   Milestone:  2.7.0
 Version:             |    Keywords:       
----------------------+-----------------------------------------------------
 Using an example file with #line directives:

 {{{
 module Test(Data(..), func) where

 #line 40 "test.cpphs"
 -- | data 'Data'
 data Data = Data

 #line 30 "test.cpphs"
 -- | Function 'func'

 #line 20 "test.cpphs"
 func :: Data
 func = Data
 }}}

 The documentation for {{{foo}}} will be rendered attached to {{{Data}}}. I
 feel this is incorrect, as {{{func :: Data}}} is the next line after {{{--
 | Function 'func'}}}.

 There's no 2.7.2 version available, so I'm leaving that field blank.

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


More information about the Haddock mailing list