Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
08efb089
Commit
08efb089
authored
Nov 06, 2007
by
simonpj@microsoft.com
Browse files
Improve error messages
parent
7a0cab9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcDeriv.lhs
View file @
08efb089
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment