diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-03-09 13:31:38 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-03-09 13:31:38 +0000 |
commit | b2fb5b96b453f581601dab26321712aa29b9d47b (patch) | |
tree | 1f8516fe033cb25cd2c48290761c8e7da6724348 /testsuite/tests/typecheck/should_fail/tcfail152.stderr | |
parent | a56ce4f78f37817cc4ab370e7b74747f9ad050b2 (diff) | |
download | haskell-b2fb5b96b453f581601dab26321712aa29b9d47b.tar.gz |
Raft of wibbles after refactoring type-class constraint errors
...in response to Trac #5858
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail152.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail152.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail152.stderr b/testsuite/tests/typecheck/should_fail/tcfail152.stderr index 5ae2f52f00..24a872c9ee 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail152.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail152.stderr @@ -1,6 +1,7 @@ tcfail152.hs:10:14: - No instance for (Integral a) - arising from a use of `toInteger' + No instance for (Integral a) arising from a use of `toInteger' + Possible fix: + add (Integral a) to the context of the data constructor `C' In the expression: toInteger x In an equation for `test': test (C x) = toInteger x |