From: simonpj@microsoft.com Date: Tue, 6 Nov 2007 10:52:58 +0000 (+0000) Subject: Improve error messages X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=08efb089bb9a1a9c77df6caefe15b44d6ab5b2d3 Improve error messages --- diff --git a/compiler/typecheck/TcDeriv.lhs b/compiler/typecheck/TcDeriv.lhs index bbdd9b2..d414c6f 100644 --- a/compiler/typecheck/TcDeriv.lhs +++ b/compiler/typecheck/TcDeriv.lhs @@ -654,7 +654,7 @@ cond_mayDeriveDataTypeable (mayDeriveDataTypeable, _) | mayDeriveDataTypeable = Nothing | otherwise = Just why where - why = ptext SLIT("You need -fglasgow-exts to derive an instance for this class") + why = ptext SLIT("You need -XDeriveDataTypeable to derive an instance for this class") std_class_via_iso :: Class -> Bool std_class_via_iso clas -- These standard classes can be derived for a newtype