summaryrefslogtreecommitdiff
path: root/compiler/utils/Panic.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2016-05-24 09:22:04 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2016-05-24 09:22:04 -0400
commit95dfdceb8b4dcc54a366949577d9ee389bad5bc3 (patch)
tree02f300a1867a6129f296a66d1e0cb8aefdfde529 /compiler/utils/Panic.hs
parent9d06ef1ae451a145607301dc7556931b537a7d83 (diff)
downloadhaskell-95dfdceb8b4dcc54a366949577d9ee389bad5bc3.tar.gz
Remove 'deriving Typeable' statements
Summary: Deriving `Typeable` has been a no-op since GHC 7.10, and now that we require 7.10+ to build GHC, we can remove all the redundant `deriving Typeable` statements in GHC. Test Plan: ./validate Reviewers: goldfire, austin, hvr, bgamari Reviewed By: austin, hvr, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2260
Diffstat (limited to 'compiler/utils/Panic.hs')
-rw-r--r--compiler/utils/Panic.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/utils/Panic.hs b/compiler/utils/Panic.hs
index b19c770718..721198e211 100644
--- a/compiler/utils/Panic.hs
+++ b/compiler/utils/Panic.hs
@@ -8,7 +8,7 @@ It's hard to put these functions anywhere else without causing
some unnecessary loops in the module dependency graph.
-}
-{-# LANGUAGE CPP, DeriveDataTypeable, ScopedTypeVariables #-}
+{-# LANGUAGE CPP, ScopedTypeVariables #-}
module Panic (
GhcException(..), showGhcException,
@@ -33,7 +33,6 @@ import Config
import Exception
import Control.Concurrent
-import Data.Dynamic
import Debug.Trace ( trace )
import System.IO.Unsafe
import System.Environment
@@ -86,7 +85,6 @@ data GhcException
-- | An error in the user's code, probably.
| ProgramError String
| PprProgramError String SDoc
- deriving (Typeable)
instance Exception GhcException