Commit 0d3f0622 authored by chak@cse.unsw.edu.au.'s avatar chak@cse.unsw.edu.au.

TFs: Fixed InstContextNorm

parent 3101e9eb
......@@ -103,7 +103,7 @@ test('InstEqContext', normal, compile, [''])
test('InstEqContext2', normal, compile, [''])
test('InstEqContext3', normal, compile, [''])
test('InstContextNorm', expect_fail, compile, [''])
test('InstContextNorm', normal, compile, [''])
test('HO', normal, compile, [''])
......
tcfail171.hs:9:9:
Could not deduce (PrintfType b, PrintfArg a) from the context ()
Could not deduce (PrintfArg a, PrintfType b) from the context ()
arising from a use of `printf' at tcfail171.hs:9:9-23
Possible fix:
add (PrintfType b, PrintfArg a) to the context of
the type signature for `phex'
add (PrintfArg a, PrintfType 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment