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

git at git.haskell.org git at git.haskell.org
Sat Nov 8 14:06:21 UTC 2014


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

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

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

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

    Fix typo in panic message


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

170c98f5a3c298bd3869238e3590798fbc0c9699
 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