[GHC] #15240: GHCi's :doc doesn't find the documentation for some class methods

GHC ghc-devs at haskell.org
Thu Jun 14 14:06:53 UTC 2018


#15240: GHCi's :doc doesn't find the documentation for some class methods
-------------------------------------+-------------------------------------
        Reporter:  sjakobi           |                Owner:  sjakobi
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.5
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4816
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"69b50efe08bdd09de0b4f0208fe52804ad938853/ghc"
 69b50efe/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="69b50efe08bdd09de0b4f0208fe52804ad938853"
 Fix deserialization of docs (#15240)

 We were using Map.fromDistinctAscList to deserialize a
 (Map Name HsDocString). As the Names' Uniques had changed, we
 ended up with an invalid map in which we couldn't lookup certain keys.

 Switching to Map.fromList fixed the issue.

 Added comments in several places.

 Reviewers: alexbiehl, hvr, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15240

 Differential Revision: https://phabricator.haskell.org/D4816
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15240#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list