X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcClassDcl.lhs;h=8b43ad6a722917af2934220633b4e2f9433e4c7d;hb=0f5e104c36b1dc3d8deeec5fef3d65e7b3a1b5ad;hp=80adaa503bcffa4549cd86b5bbada0578afac1d4;hpb=e70027735475284bb439ac04465921abe6430ddb;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcClassDcl.lhs b/compiler/typecheck/TcClassDcl.lhs index 80adaa5..8b43ad6 100644 --- a/compiler/typecheck/TcClassDcl.lhs +++ b/compiler/typecheck/TcClassDcl.lhs @@ -794,7 +794,7 @@ notSimple inst_tys notGeneric :: TyCon -> SDoc notGeneric tycon = vcat [ptext (sLit "because the instance type constructor") <+> quotes (ppr tycon) <+> - ptext (sLit "was not compiled with -fgenerics")] + ptext (sLit "was not compiled with -XGenerics")] badGenericInstanceType :: LHsBinds Name -> SDoc badGenericInstanceType binds