summaryrefslogtreecommitdiff
path: root/compiler/main/GhcMonad.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-08 11:09:48 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-08 11:09:53 +0100
commit9f4ca5afaccc8a397d8ee91b5423a9c2fcd151ce (patch)
tree862135235e1b09e0c9cb22164de25ba7878af8e0 /compiler/main/GhcMonad.hs
parent2f6e87a494330837c425dab67ba26ee36bd9eacf (diff)
downloadhaskell-9f4ca5afaccc8a397d8ee91b5423a9c2fcd151ce.tar.gz
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
Diffstat (limited to 'compiler/main/GhcMonad.hs')
0 files changed, 0 insertions, 0 deletions