From 08efb089bb9a1a9c77df6caefe15b44d6ab5b2d3 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Tue, 6 Nov 2007 10:52:58 +0000 Subject: [PATCH] Improve error messages --- compiler/typecheck/TcDeriv.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4