Fix typo
authorIan Lynagh <igloo@earth.li>
Sat, 16 Jan 2010 13:49:15 +0000 (13:49 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 16 Jan 2010 13:49:15 +0000 (13:49 +0000)
compiler/specialise/SpecConstr.lhs

index b811f40..e3dc1b0 100644 (file)
@@ -1116,7 +1116,7 @@ specialise env force_spec bind_calls (fn, arg_bndrs, body, arg_occs)
                where
                   msg = vcat [ sep [ ptext (sLit "Function") <+> quotes (ppr fn)
                                    , nest 2 (ptext (sLit "has") <+> int n_pats <+> 
                where
                   msg = vcat [ sep [ ptext (sLit "Function") <+> quotes (ppr fn)
                                    , nest 2 (ptext (sLit "has") <+> int n_pats <+> 
-                                              ptext (sLit "call pattterns, but the limit is") <+> int max) ]
+                                              ptext (sLit "call patterns, but the limit is") <+> int max) ]
                              , ptext (sLit "Use -fspec-constr-count=n to set the bound")
                              , extra ]
                   extra | not opt_PprStyle_Debug = ptext (sLit "Use -dppr-debug to see specialisations")
                              , ptext (sLit "Use -fspec-constr-count=n to set the bound")
                              , extra ]
                   extra | not opt_PprStyle_Debug = ptext (sLit "Use -dppr-debug to see specialisations")