Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fumiaki Kinoshita
GHC
Commits
cec6e4d7
Commit
cec6e4d7
authored
Feb 01, 2011
by
simonpj
Browse files
Fix bogus error message
parent
ea6cd213
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail198.stderr
View file @
cec6e4d7
...
...
@@ -2,8 +2,7 @@
tcfail198.hs:6:17:
Couldn't match expected type `t0 -> t1'
with actual type `forall a. [a] -> [a]'
The lambda expression `\ (x : xs) -> xs ++ ...'
has one argument one argument,
The lambda expression `\ (x : xs) -> xs ++ ...' has one argument,
but its type `forall a. [a] -> [a]' has none
In the first argument of `Just', namely
`(\ (x : xs) -> xs ++ [x :: a])'
...
...
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