Skip to content
Snippets Groups Projects
Commit 08efb089 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Improve error messages

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