Ticket #138 (new defect)
Malformed or missing comments in files with #line directive
|Reported by:||jmillikin||Owned by:|
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.