From 10858f466b796d3585842fb242203da53b350944 Mon Sep 17 00:00:00 2001 From: Sebastian Graf <sgraf1337@gmail.com> Date: Thu, 4 Jul 2019 16:40:44 +0200 Subject: [PATCH] Remove a catch-all clause The clause will be rendered redundant by [GHC MR 963](https://gitlab.haskell.org/ghc/ghc/merge_requests/963). --- src/Data/Binary/Class.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Data/Binary/Class.hs b/src/Data/Binary/Class.hs index 064b744..15db6ea 100644 --- a/src/Data/Binary/Class.hs +++ b/src/Data/Binary/Class.hs @@ -978,7 +978,6 @@ putTypeRep (Fun arg res) = do put (3 :: Word8) putTypeRep arg putTypeRep res -putTypeRep _ = error "GHCi.TH.Binary.putTypeRep: Impossible" getSomeTypeRep :: Get SomeTypeRep getSomeTypeRep = do -- GitLab