[GHC] #11517: ghc -haddock fails to parse doc comments in closed type families

#11517: ghc -haddock fails to parse doc comments in closed type families -------------------------------------+------------------------------------- Reporter: kanetw | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 (Parser) | Keywords: Haddock | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC with -haddock fails to parse the following program: {{{#!hs {-# LANGUAGE TypeFamilies #-} module Bug where type family Closed a where -- |This comment fails to parse Closed Int = Bool }}} {{{ ghc -haddock Bug.hs [1 of 1] Compiling Bug ( Bug.hs, Bug.o ) Bug.hs:5:3: parse error on input ‘-- |This comment fails to parse’ }}} (tested with 7.10.3 and an slightly out-of-date HEAD) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11517 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC