
#9049: Expose srcLoc from the assertion architecture to allow better error messages -------------------------------------+------------------------------------- Reporter: nh2 | Owner: gridaphobe Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.2 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by gridaphobe): I'd also like to add that I think it would be a shame to deprecate ImplicitParams, this feature notwithstanding. ImplicitParams is niche, yes, but it's also super convenient at times, in particular for passing around some configuration without having to restructure your whole program as a reader monad. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9049#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler