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

git at git.haskell.org git at git.haskell.org
Thu Nov 6 13:10:54 UTC 2014


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

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

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

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

    Fix typo in panic message


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

75237a922e7b4a75b90252d2b68709625a9e1a47
 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 02db8ef..7d3752a 100644
--- a/compiler/main/TidyPgm.lhs
+++ b/compiler/main/TidyPgm.lhs
@@ -419,7 +419,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