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
dacefa06
Commit
dacefa06
authored
Aug 20, 2009
by
simonpj
Browse files
Update output
parent
771ae247
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail124.stderr
View file @
dacefa06
tcfail124.hs:6:
8:
Couldn't match expected type `forall a. (Eq a) => [a]'
against inferred type `[a]'
In the pattern: x : _
In the definition of `f1': f1 (xs@(x : _)) = x
tcfail124.hs:9:3:
Couldn't match expected type `forall a. (Eq a) => [a]'
against inferred type `[a]'
In the pattern: [x]
In the definition of `f2': f2 [x] = x
tcfail124.hs:12:
5:
Couldn't match expected type `forall a. (Eq a) => [a]'
against inferred type `[a]'
In the pattern: x : []
In the definition of `f3': f3 (x : []) = x
tcfail124.hs:6:
7:
Couldn't match expected type `forall a. (Eq a) => [a]'
against inferred type `[a]'
In the pattern: x : _
In the definition of `f1': f1 (xs@(x : _)) = x
tcfail124.hs:9:3:
Couldn't match expected type `forall a. (Eq a) => [a]'
against inferred type `[a]'
In the pattern: [x]
In the definition of `f2': f2 [x] = x
tcfail124.hs:12:
4:
Couldn't match expected type `forall a. (Eq a) => [a]'
against inferred type `[a]'
In the pattern: x : []
In the definition of `f3': f3 (x : []) = x
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail187.stderr
View file @
dacefa06
tcfail187.hs:7:
7:
Constructor `:::' should have no arguments, but has been given 2
In the pattern: x ::: y
In the definition of `foo': foo (x ::: y) = ()
tcfail187.hs:7:
5:
Constructor `:::' should have no arguments, but has been given 2
In the pattern: x ::: y
In the definition of `foo': foo (x ::: y) = ()
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