Re: [GHC] #5273: error and undefined should print a location
#5273: error and undefined should print a location -------------------------------------+------------------------------------- Reporter: augustss | Owner: Type: feature request | Status: closed Priority: low | Milestone: 8.0.1 Component: Compiler | Version: 7.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: 9049 | Differential Rev(s): Phab:D861 -------------------------------------+------------------------------------- Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"9f4ca5afaccc8a397d8ee91b5423a9c2fcd151ce/ghc" 9f4ca5a/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="9f4ca5afaccc8a397d8ee91b5423a9c2fcd151ce" Associate ErrorCall pattern with ErrorCall type This way, import Control.Exception (ErrorCall(ErrorCall)) or import Control.Exception (ErrorCall(..)) work as expected, and import the `ErrorCall` compatibility pattern as well. When #5273 was implemented, it wasn't possible yet to associated patterns with their types (see #10653). Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D1588 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5273#comment:14> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC