From 55b1b00cfde9ffe6401e833593bc532dfdae1f87 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Sat, 2 Nov 2024 11:56:25 +0000 Subject: [PATCH] Cardano.Prelude.Panic: Remove deriving Typeable This is now an error in GHC 9.12 --- cardano-prelude/src/Cardano/Prelude/Panic.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cardano-prelude/src/Cardano/Prelude/Panic.hs b/cardano-prelude/src/Cardano/Prelude/Panic.hs index 4fde3a8..72025c5 100644 --- a/cardano-prelude/src/Cardano/Prelude/Panic.hs +++ b/cardano-prelude/src/Cardano/Prelude/Panic.hs @@ -10,12 +10,11 @@ module Cardano.Prelude.Panic ( import Control.Exception (Exception, throw) import Data.Text (Text) -import Data.Typeable (Typeable) import GHC.Stack (HasCallStack) -- | Uncatchable exceptions thrown and never caught. newtype FatalError = FatalError { fatalErrorMessage :: Text } - deriving (Show, Typeable) + deriving (Show) instance Exception FatalError