diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-04-22 12:56:09 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2013-04-22 13:00:57 +0100 |
commit | 0edc55b7f4fc3b2c07b47ea359542edfae40bb5a (patch) | |
tree | f88f0be1d33c5772fde887b49fd73820db40f287 /testsuite/tests/typecheck/should_compile/FD3.stderr | |
parent | 9bf2e77ede31f487b321d3f978c6e18a63739cd6 (diff) | |
download | haskell-0edc55b7f4fc3b2c07b47ea359542edfae40bb5a.tar.gz |
Error message wibbles, following TcErrors refactoring
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/FD3.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/FD3.stderr | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/testsuite/tests/typecheck/should_compile/FD3.stderr b/testsuite/tests/typecheck/should_compile/FD3.stderr index 9c0a11c36c..664fd35553 100644 --- a/testsuite/tests/typecheck/should_compile/FD3.stderr +++ b/testsuite/tests/typecheck/should_compile/FD3.stderr @@ -1,16 +1,5 @@ - -FD3.hs:15:15: - Couldn't match type ‛a’ with ‛(String, a)’ - ‛a’ is a rigid type variable bound by - the type signature for translate :: (String, a) -> A a - at FD3.hs:14:14 - Relevant bindings include - translate :: (String, a) -> A a (bound at FD3.hs:15:1) - a :: (String, a) (bound at FD3.hs:15:11) - When using functional dependencies to combine - MkA a a, - arising from the dependency ‛a -> b’ - in the instance declaration at FD3.hs:12:10 - MkA (String, a) a, arising from a use of ‛mkA’ at FD3.hs:15:15-17 - In the expression: mkA a - In an equation for ‛translate’: translate a = mkA a +
+FD3.hs:15:15:
+ No instance for (MkA (String, a) a) arising from a use of ‛mkA’
+ In the expression: mkA a
+ In an equation for ‛translate’: translate a = mkA a
|