diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-08 11:09:48 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-08 11:09:53 +0100 |
commit | 9f4ca5afaccc8a397d8ee91b5423a9c2fcd151ce (patch) | |
tree | 862135235e1b09e0c9cb22164de25ba7878af8e0 /compiler/main/GhcMonad.hs | |
parent | 2f6e87a494330837c425dab67ba26ee36bd9eacf (diff) | |
download | haskell-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