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
0d3f0622
Commit
0d3f0622
authored
Oct 01, 2008
by
chak@cse.unsw.edu.au.
Browse files
TFs: Fixed InstContextNorm
parent
3101e9eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/indexed-types/should_compile/all.T
View file @
0d3f0622
...
...
@@ -103,7 +103,7 @@ test('InstEqContext', normal, compile, [''])
test
('
InstEqContext2
',
normal
,
compile
,
[''])
test
('
InstEqContext3
',
normal
,
compile
,
[''])
test
('
InstContextNorm
',
expect_fai
l
,
compile
,
[''])
test
('
InstContextNorm
',
norma
l
,
compile
,
[''])
test
('
HO
',
normal
,
compile
,
[''])
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail171.stderr
View file @
0d3f0622
tcfail171.hs:9:9:
Could not deduce (Printf
Type b
, Printf
Arg a
) from the context ()
Could not deduce (Printf
Arg a
, Printf
Type b
) from the context ()
arising from a use of `printf' at tcfail171.hs:9:9-23
Possible fix:
add (Printf
Type b
, Printf
Arg a
) to the context of
the type signature for `phex'
add (Printf
Arg a
, Printf
Type b
) to the context of
the type signature for `phex'
In the expression: printf "0x%x" x
In the definition of `phex': phex x = printf "0x%x" 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