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
Alex D
GHC
Commits
6d43f0f7
Commit
6d43f0f7
authored
Sep 01, 2011
by
Simon Peyton Jones
Browse files
Accept error message wibbles
parent
db73d0ec
Changes
6
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/indexed-types/should_fail/SimpleFail10.stderr
View file @
6d43f0f7
...
...
@@ -2,5 +2,5 @@
SimpleFail10.hs:13:3:
Arguments that do not correspond to a class parameter must be variables
Instead of a variable, found Char
In the
associated
type instance for `S8'
In the
data
type instance
declaration
for `S8'
In the instance declaration for `C8 Bool'
testsuite/tests/indexed-types/should_fail/SimpleFail4.stderr
View file @
6d43f0f7
SimpleFail4.hs:8:
3
:
Type declaration in a class must be a kind signature or synonym default:
type instance S2 Int = Char
SimpleFail4.hs:8:
11
:
Unexpected type `Int' where type variable expected
In the declaration of `S2 Int'
testsuite/tests/indexed-types/should_fail/SimpleFail9.stderr
View file @
6d43f0f7
...
...
@@ -2,5 +2,5 @@
SimpleFail9.hs:13:3:
Type indexes must match class instance head
Found `(b, Int)' but expected `(a, Int)'
In the
associated
type instance for `S7'
In the
data
type instance
declaration
for `S7'
In the instance declaration for `C7 Char (a, Int)'
testsuite/tests/indexed-types/should_fail/T4485.stderr
View file @
6d43f0f7
...
...
@@ -4,7 +4,7 @@ T4485.hs:47:15:
(IdentityT IO) (XMLGenT m0 (XML m0))
arising from a use of `asChild'
Matching instances:
instance [overlap ok] (
m1 ~ m,
EmbedAsChild m c) =>
instance [overlap ok] (EmbedAsChild m c
, m1 ~ m
) =>
EmbedAsChild m (XMLGenT m1 c)
-- Defined at T4485.hs:29:10-68
instance [overlap ok] EmbedAsChild
...
...
testsuite/tests/parser/should_fail/T3811d.stderr
View file @
6d43f0f7
T3811d.hs:6:11:
Type found: D Char
where type variable expected, in: b (D Char) b
T3811d.hs:6:11:
Unexpected type `D Char' where type variable expected
In the declaration of `C b (D Char) b'
testsuite/tests/parser/should_fail/readFail025.stderr
View file @
6d43f0f7
readFail025.hs:5:8:
Type found: String
where type variable expected, in:
String
readFail025.hs:5:8:
Unexpected type `String' where type variable expected
In the declaration of `T
String
'
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