
#9049: Expose srcLoc from the assertion architecture to allow better error messages -------------------------------------+------------------------------------ Reporter: nh2 | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by nh2): Not really. In my view giving this kind of good error message really doesn't have to do much with ''profiling''. Sure, profiling currently improves error messages, but ideally (and practically) I don't want to compile with profiling to get a very orthogonal feature. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9049#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler