
#11235: Haddock shows no class members -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: high | Milestone: 8.0.1 Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Replying to [comment:10 simonpj]:
Ah, here's a possibility. The `tcdSigs` for classes used to contain a `TypeSig` for each method, but now it contains a `ClassOpSig`. Maybe Haddock is expecting the former but only finding the latter?
Indeed, I've worked that much out and I've found all of the obvious places where this needs to be accounted for. Unfortunately it seems I'm missing one of the non-obvious ones. For those playing along at home I'm working [[http://github.com/bgamari/haddock/tree/work|here]]. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11235#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler