[GHC] #9049: Expose srcLoc from the assertion architecture to allow better error messages
GHC
ghc-devs at haskell.org
Mon Jan 5 14:19:34 UTC 2015
#9049: Expose srcLoc from the assertion architecture to allow better error
messages
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner: gridaphobe
Type: feature request | Status: patch
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions: Phab:D578
-------------------------------------+-------------------------------------
Comment (by simonpj):
You did not respond to bullet 5 of comment:24. I'd like to see displayed
stacks looking like:
{{{
foo, called at Bar.hs line 5
wim, called as Wobble.hs line 9
...etc...
}}}
Currently we can get the call sites but not the function being called. I
think it'd make the stacks a lot more informative.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9049#comment:27>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list