[GHC] #9770: GHC Parser fails on Haddock comment on parameter of a function record field

#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

#9770: GHC Parser fails on Haddock comment on parameter of a function record field -------------------------------------+------------------------------------- Reporter: boris | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 (Parser) | Keywords: Haddock Resolution: duplicate | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: #8822 None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => duplicate * related: => #8822 Comment: Thank you for the report. Let's combine all these parser issues related to haddock comments at #8822. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9770#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC