[commit: ghc] wip/ttypeable: Fix warning (94cda07)

git at git.haskell.org git at git.haskell.org
Tue Feb 7 17:30:13 UTC 2017


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

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/94cda07d36b3370ea90c6b5f81f7e30b5d3a1281/ghc

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

commit 94cda07d36b3370ea90c6b5f81f7e30b5d3a1281
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Feb 2 11:38:33 2017 -0500

    Fix warning


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

94cda07d36b3370ea90c6b5f81f7e30b5d3a1281
 compiler/typecheck/TcTypeable.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcTypeable.hs b/compiler/typecheck/TcTypeable.hs
index 93be5be..6ae5002 100644
--- a/compiler/typecheck/TcTypeable.hs
+++ b/compiler/typecheck/TcTypeable.hs
@@ -196,7 +196,7 @@ todoForTyCons mod mod_id tycons = do
               , Just _ <- pure $ tyConRepName_maybe tc''
               ]
     let typeable_tycons = filter dbg tycons
-        dbg (tycon, kind) =
+        dbg (_tycon, kind) =
             --pprTrace "todoForTycons" (ppr tycon $$ ppr bare_kind $$ ppr is_typeable)
             is_typeable
           where is_typeable = typeIsTypeable bare_kind



More information about the ghc-commits mailing list