[GHC] #15559: fromJust has no HasCallStack

GHC ghc-devs at haskell.org
Fri Oct 5 22:25:49 UTC 2018


#15559: fromJust has no HasCallStack
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Core Libraries    |              Version:  8.4.3
      Resolution:                    |             Keywords:  newcomer
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):

 We already have a [[http://downloads.haskell.org/~ghc/master/users-guide
 //using-optimisation.html?highlight=assert#ghc-flag--fignore-asserts|very
 similar]] mechanism for `Control.Exception.assert` occurrences at compile-
 time. It would be reasonably straightforward to add a similar flag for a
 magic synonym of `HasCallStack`.

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


More information about the ghc-tickets mailing list