[commit: ghc] master: ghci: Fix unused binder warnings when building with integer-simple (825ce3a)

git at git.haskell.org git at git.haskell.org
Mon Dec 17 17:45:20 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/825ce3af0470abe48e33e6297ca60a7c3aee32f8/ghc

>---------------------------------------------------------------

commit 825ce3af0470abe48e33e6297ca60a7c3aee32f8
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Dec 16 14:10:54 2018 -0500

    ghci: Fix unused binder warnings when building with integer-simple


>---------------------------------------------------------------

825ce3af0470abe48e33e6297ca60a7c3aee32f8
 compiler/ghci/RtClosureInspect.hs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/compiler/ghci/RtClosureInspect.hs b/compiler/ghci/RtClosureInspect.hs
index f4d09cc..a61d776 100644
--- a/compiler/ghci/RtClosureInspect.hs
+++ b/compiler/ghci/RtClosureInspect.hs
@@ -327,9 +327,7 @@ cPprTermBase y =
   , ifTerm' (isTyCon charTyCon   . ty) ppr_char
   , ifTerm' (isTyCon floatTyCon  . ty) ppr_float
   , ifTerm' (isTyCon doubleTyCon . ty) ppr_double
-#if defined(INTEGER_GMP)
   , ifTerm' (isIntegerTy         . ty) ppr_integer
-#endif
   ]
  where
    ifTerm :: (Term -> Bool)



More information about the ghc-commits mailing list