[commit: ghc] wip/T9732: Fix typo in panic message (b11c8b8)

git at git.haskell.org git at git.haskell.org
Wed Nov 12 11:07:04 UTC 2014


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

On branch  : wip/T9732
Link       : http://ghc.haskell.org/trac/ghc/changeset/b11c8b83a244524b554538d126795823f1b0ecf4/ghc

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

commit b11c8b83a244524b554538d126795823f1b0ecf4
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date:   Thu Nov 6 19:38:40 2014 +0800

    Fix typo in panic message


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

b11c8b83a244524b554538d126795823f1b0ecf4
 compiler/main/TidyPgm.lhs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/main/TidyPgm.lhs b/compiler/main/TidyPgm.lhs
index a975fdd..b7a867d 100644
--- a/compiler/main/TidyPgm.lhs
+++ b/compiler/main/TidyPgm.lhs
@@ -421,7 +421,7 @@ lookup_aux_id :: TypeEnv -> Var -> Id
 lookup_aux_id type_env id
   = case lookupTypeEnv type_env (idName id) of
         Just (AnId id') -> id'
-        _other          -> pprPanic "lookup_axu_id" (ppr id)
+        _other          -> pprPanic "lookup_aux_id" (ppr id)
 \end{code}
 
 



More information about the ghc-commits mailing list