[GHC] #14635: Double stacktrace with errorWithCallStack

GHC ghc-devs at haskell.org
Thu Jan 4 17:40:56 UTC 2018


#14635: Double stacktrace with errorWithCallStack
-------------------------------------+-------------------------------------
        Reporter:  flip101           |                Owner:  (none)
            Type:  bug               |               Status:  new
        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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"e2998d720c6b6bf72c86201d816f256a8ba704e6/ghc"
 e2998d72/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e2998d720c6b6bf72c86201d816f256a8ba704e6"
 Stop double-stacktrace in ASSERT failures

 We were getting the stack trace printed twice in assertion
 failures (e.g. see the Description of Trac #14552).

 This fixes it, by deleting code.

 (c.f. Trac #14635 which reports the same bug in documentation).
 }}}

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


More information about the ghc-tickets mailing list