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

git at git.haskell.org git at git.haskell.org
Thu Nov 13 10:53:05 UTC 2014


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

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

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

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

    Fix typo in panic message


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

0541c8585601d726eb898f657b9b6bc8eaa5575d
 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