[GHC] #9770: GHC Parser fails on Haddock comment on parameter of a function record field
GHC
ghc-devs at haskell.org
Tue Nov 4 21:41:45 UTC 2014
#9770: GHC Parser fails on Haddock comment on parameter of a function record field
-------------------------------------+-------------------------------------
Reporter: boris | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 7.8.3
Keywords: Haddock | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
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
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9770>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list