Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
5e191aeb
Commit
5e191aeb
authored
Aug 11, 2008
by
simonpj
Browse files
Update output
parent
abc0aac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/typecheck/should_compile/T2494.stderr
View file @
5e191aeb
T2494.hs:1
2
:13:
T2494.hs:1
5
:13:
Couldn't match expected type `a' against inferred type `b'
`a' is a rigid type variable bound by
the type signature for `f' at T2494.hs:1
0
:45
the type signature for `f' at T2494.hs:1
3
:45
`b' is a rigid type variable bound by
the type signature for `g' at T2494.hs:1
1
:45
the type signature for `g' at T2494.hs:1
4
:45
Expected type: Maybe (m a)
Inferred type: Maybe (m b)
In the first argument of `foo', namely `g'
In the second argument of `foo', namely `(foo g x)'
T2494.hs:1
2
:29:
T2494.hs:1
5
:29:
Couldn't match expected type `a' against inferred type `b'
`a' is a rigid type variable bound by
the type signature for `f' at T2494.hs:1
0
:45
the type signature for `f' at T2494.hs:1
3
:45
`b' is a rigid type variable bound by
the type signature for `g' at T2494.hs:1
1
:45
the type signature for `g' at T2494.hs:1
4
:45
Expected type: Maybe (m a)
Inferred type: Maybe (m b)
In the second argument of `(.)', namely `g'
In the first argument of `foo', namely `(f . g)'
T2494.hs:1
2
:32:
T2494.hs:1
5
:32:
Couldn't match expected type `b' against inferred type `a'
`b' is a rigid type variable bound by
the type signature for `g' at T2494.hs:1
1
:45
the type signature for `g' at T2494.hs:1
4
:45
`a' is a rigid type variable bound by
the type signature for `f' at T2494.hs:1
0
:45
the type signature for `f' at T2494.hs:1
3
:45
Expected type: Maybe b
Inferred type: Maybe a
In the second argument of `foo', namely `x'
...
...
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