[GHC] #15240: GHCi's :doc doesn't find the documentation for some class methods
GHC
ghc-devs at haskell.org
Wed Jun 6 22:33:30 UTC 2018
#15240: GHCi's :doc doesn't find the documentation for some class methods
-------------------------------------+-------------------------------------
Reporter: sjakobi | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: GHCi | Version: 8.5
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by sjakobi):
`--show-iface` reveals that e.g. `GHC/Show.hi` ''does'' contain docs for
`show`:
{{{
show:
" A specialised variant of 'showsPrec', using precedence context
zero, and returning an ordinary 'String'."
}}}
So either we're loading the wrong iface our `Name` isn't the same as the
one in the `DeclDocMap`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15240#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list