[GHC] #11954: Associated pattern synonyms not included in haddock
GHC
ghc-devs at haskell.org
Tue Apr 19 14:47:29 UTC 2016
#11954: Associated pattern synonyms not included in haddock
-------------------------------------+-------------------------------------
Reporter: darchon | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 8.0.1-rc3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Running haddock on:
{{{#!hs
{-# LANGUAGE PatternSynonyms #-}
module Foo ( A(P) ) where
data A a = A
pattern P = A
}}}
Just gives a data type A with no constructors, and no mention of the
associated pattern synonym P.
Attached is a patch for haddock that prints associated patterns as GADT
constructors
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11954>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list