Skip to content
GitLab
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
e43a4124
Commit
e43a4124
authored
Nov 19, 2013
by
Simon Peyton Jones
Browse files
Wibbles to deriving error messages
parent
4642f874
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/deriving/should_fail/T2604.stderr
View file @
e43a4124
T2604.hs:7:35:
Can't make a derived instance of ‛Typeable
(
DList
a)
’:
You need DeriveDataTypeable to derive an instance for this class
In the data declaration for ‛DList’
T2604.hs:9:38:
Can't make a derived instance of ‛Typeable
(
NList
a)
’:
You need DeriveDataTypeable to derive an instance for this class
In the newtype declaration for ‛NList’
T2604.hs:7:35:
Can't make a derived instance of ‛Typeable DList’:
You need DeriveDataTypeable to derive an instance for this class
In the data declaration for ‛DList’
T2604.hs:9:38:
Can't make a derived instance of ‛Typeable NList’:
You need DeriveDataTypeable to derive an instance for this class
In the newtype declaration for ‛NList’
testsuite/tests/deriving/should_fail/T5863a.stderr
View file @
e43a4124
T5863a.hs:9:31:
Can't make a derived instance of ‛Typeable (T Int)’:
Deriving Typeable is not allowed for family instances;
derive Typeable for ‛T’ alone
In the data instance declaration for ‛T’
T5863a.hs:12:32:
Can't make a derived instance of ‛Typeable (T Bool)’:
Deriving Typeable is not allowed for family instances;
derive Typeable for ‛T’ alone
In the data instance declaration for ‛T’
T5863a.hs:9:31:
Cannot eta-reduce to an instance of form
instance (...) => Typeable T
In the data instance declaration for ‛T’
T5863a.hs:12:32:
Cannot eta-reduce to an instance of form
instance (...) => Typeable T
In the data instance declaration for ‛T’
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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