summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-07-10 13:02:14 +0000
committerIan Lynagh <igloo@earth.li>2007-07-10 13:02:14 +0000
commitec70ee9f1fb57cfbaffe7187f1bd4440903a49d7 (patch)
tree41d0ccea68625f45cc655b5b14998697f6f6c606
parent11e80952ae15cf95b89c01466ee1970fb7161d7f (diff)
downloadhaskell-ec70ee9f1fb57cfbaffe7187f1bd4440903a49d7.tar.gz
Tweak error message
-rw-r--r--compiler/typecheck/TcDeriv.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcDeriv.lhs b/compiler/typecheck/TcDeriv.lhs
index 0272c54b38..fc41c8a14a 100644
--- a/compiler/typecheck/TcDeriv.lhs
+++ b/compiler/typecheck/TcDeriv.lhs
@@ -656,7 +656,7 @@ mkNewTypeEqn orig mayDeriveDataTypeable newtype_deriving overlap_flag tvs cls cl
mb_std_err = checkSideConditions mayDeriveDataTypeable cls cls_tys rep_tycon
std_err = derivingThingErr cls cls_tys tc_app $
vcat [fromJust mb_std_err,
- ptext SLIT("Try -fglasgow-exts for GHC's newtype-deriving extension")]
+ ptext SLIT("Try -XGeneralizedNewtypeDeriving for GHC's newtype-deriving extension")]
-- Here is the plan for newtype derivings. We see
-- newtype T a1...an = MkT (t ak+1...an) deriving (.., C s1 .. sm, ...)