[commit: ghc] master: Fix a typo in an error message (3c5648a)

git at git.haskell.org git at git.haskell.org
Tue Oct 7 08:49:19 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3c5648afff13e9f6e94dea4094cc3a3fb97baeea/ghc

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

commit 3c5648afff13e9f6e94dea4094cc3a3fb97baeea
Author: Gabor Greif <ggreif at gmail.com>
Date:   Tue Oct 7 10:20:08 2014 +0200

    Fix a typo in an error message


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

3c5648afff13e9f6e94dea4094cc3a3fb97baeea
 compiler/typecheck/TcTyClsDecls.lhs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcTyClsDecls.lhs b/compiler/typecheck/TcTyClsDecls.lhs
index a4a7b29..aca9e51 100644
--- a/compiler/typecheck/TcTyClsDecls.lhs
+++ b/compiler/typecheck/TcTyClsDecls.lhs
@@ -1703,7 +1703,7 @@ checkFamFlag tc_name
   = do { idx_tys <- xoptM Opt_TypeFamilies
        ; checkTc idx_tys err_msg }
   where
-    err_msg = hang (ptext (sLit "Illegal family declaraion for") <+> quotes (ppr tc_name))
+    err_msg = hang (ptext (sLit "Illegal family declaration for") <+> quotes (ppr tc_name))
                  2 (ptext (sLit "Use TypeFamilies to allow indexed type families"))
 \end{code}
 



More information about the ghc-commits mailing list