summaryrefslogtreecommitdiff
path: root/testsuite/tests/rebindable
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-10-30 11:41:17 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-11-04 10:38:06 +0000
commit5479ae0a0ff6d5df2da4f6208ce747f669c6d492 (patch)
tree1a7d32c9657d59690c47135898086955d5907bb5 /testsuite/tests/rebindable
parent66658eedf0aa51de37ff6d2d009a2f37208985ca (diff)
downloadhaskell-5479ae0a0ff6d5df2da4f6208ce747f669c6d492.tar.gz
Testsuite error message changes
Diffstat (limited to 'testsuite/tests/rebindable')
-rw-r--r--testsuite/tests/rebindable/rebindable6.stderr12
1 files changed, 4 insertions, 8 deletions
diff --git a/testsuite/tests/rebindable/rebindable6.stderr b/testsuite/tests/rebindable/rebindable6.stderr
index 4d22904d6e..a02563f3ca 100644
--- a/testsuite/tests/rebindable/rebindable6.stderr
+++ b/testsuite/tests/rebindable/rebindable6.stderr
@@ -23,16 +23,12 @@ rebindable6.hs:106:17:
return b }
rebindable6.hs:107:17:
- No instance for (HasBind (IO (Maybe b) -> (Maybe b -> t1) -> t0))
+ No instance for (HasFail ([Prelude.Char] -> t1))
arising from a do statement
- The type variables ‘t0’, ‘t1’ are ambiguous
- Relevant bindings include
- g :: IO (Maybe b) (bound at rebindable6.hs:104:19)
- test_do :: IO a -> IO (Maybe b) -> IO b
- (bound at rebindable6.hs:104:9)
+ The type variable ‘t1’ is ambiguous
Note: there is a potential instance available:
- instance HasBind (IO a -> (a -> IO b) -> IO b)
- -- Defined at rebindable6.hs:47:18
+ instance HasFail (String -> IO a)
+ -- Defined at rebindable6.hs:57:18
In a stmt of a 'do' block: Just (b :: b) <- g
In the expression:
do { f;