Commit 08efb089 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
Browse files

Improve error messages

parent 7a0cab9b
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment