GHC Parser fails on Haddock comment on parameter of a function record field
I tried to document parameter of a function that is a record field. The Haddock fails with parse error on input ‘->’
data D = D {
field :: () -- ^ parameter
-> ()
}
Please see https://github.com/haskell/haddock/issues/343
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Parser) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |