[GHC] #14635: Double stacktrace with errorWithCallStack

GHC ghc-devs at haskell.org
Mon Jan 22 01:39:31 UTC 2018


#14635: Double stacktrace with errorWithCallStack
-------------------------------------+-------------------------------------
        Reporter:  flip101           |                Owner:  alpmestan
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Documentation     |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  D4317
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"5edb18a962cbfee0ff869b1a77ebf2cd79dd8ef5/ghc"
 5edb18a9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="5edb18a962cbfee0ff869b1a77ebf2cd79dd8ef5"
 tentative improvement to callstack docs

 This is an attempt at clarifying the docs for HasCallStack in both the
 user guide and libraries/base/GHC/Stack/Types.hs. The example used right
 now is built around an hypothetical 'error' function that doesn't itself
 print call stacks, and the fact that this doesn't hold makes it all
 confusing, see #14635.

 Reviewers: hvr, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14635

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

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


More information about the ghc-tickets mailing list