[commit: testsuite] master: Update error message (026fba4)
Simon Peyton Jones
simonpj at microsoft.com
Fri Jan 13 16:51:31 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/026fba4fa7eb5c5c95b4f72e2f0ef7b55accf144
>---------------------------------------------------------------
commit 026fba4fa7eb5c5c95b4f72e2f0ef7b55accf144
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Jan 13 15:51:17 2012 +0000
Update error message
>---------------------------------------------------------------
tests/typecheck/should_run/tcrun035.stderr | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/tests/typecheck/should_run/tcrun035.stderr b/tests/typecheck/should_run/tcrun035.stderr
index 67d3418..8c795ce 100644
--- a/tests/typecheck/should_run/tcrun035.stderr
+++ b/tests/typecheck/should_run/tcrun035.stderr
@@ -1,9 +1,10 @@
tcrun035.hs:13:12:
- Couldn't match expected type `IO a'
- with actual type `forall (m :: * -> *). Monad m => m a'
- Expected type: (forall (m :: * -> *). Monad m => m a) -> IO a
- Actual type: (forall (m :: * -> *). Monad m => m a)
- -> forall (m :: * -> *). Monad m => m a
+ Couldn't match type `forall (m :: * -> *). Monad m => m a'
+ with `IO a'
+ Expected type: (forall (m :: * -> *). Monad m => m a) -> IO a
+ Actual type: (forall (m :: * -> *). Monad m => m a)
+ -> forall (m :: * -> *). Monad m => m a
In the second argument of `(.)', namely `id'
In the expression: id . id
+ In an equation for `foo': foo = id . id
More information about the Cvs-ghc
mailing list