summaryrefslogtreecommitdiff
path: root/testsuite/tests/rebindable
diff options
context:
space:
mode:
authorMike Izbicki <mike@izbicki.me>2014-11-19 18:29:37 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-19 19:49:37 -0600
commitbc2289e13d9586be087bd8136943dc35a0130c88 (patch)
treea45489dbdba4380c4aa532599155f878e5cbaa43 /testsuite/tests/rebindable
parentd87fa343cd5d298c9fea96d65d05a20929ff97d0 (diff)
downloadhaskell-bc2289e13d9586be087bd8136943dc35a0130c88.tar.gz
ghc generates more user-friendly error messages
Test Plan: Compiled ghc fine. Opened ghci and fed it invalid code. It gave the improved error messages in response. Reviewers: austin Subscribers: thomie, simonpj, spacekitteh, rwbarton, simonmar, carter Differential Revision: https://phabricator.haskell.org/D201
Diffstat (limited to 'testsuite/tests/rebindable')
-rw-r--r--testsuite/tests/rebindable/rebindable6.stderr3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/rebindable/rebindable6.stderr b/testsuite/tests/rebindable/rebindable6.stderr
index a02563f3ca..b9ae82096b 100644
--- a/testsuite/tests/rebindable/rebindable6.stderr
+++ b/testsuite/tests/rebindable/rebindable6.stderr
@@ -1,6 +1,7 @@
rebindable6.hs:106:17:
No instance for (HasSeq (IO a -> t0 -> IO b))
+ (maybe you haven't applied enough arguments to a function?)
arising from a do statement
The type variable ‘t0’ is ambiguous
Relevant bindings include
@@ -24,6 +25,7 @@ rebindable6.hs:106:17:
rebindable6.hs:107:17:
No instance for (HasFail ([Prelude.Char] -> t1))
+ (maybe you haven't applied enough arguments to a function?)
arising from a do statement
The type variable ‘t1’ is ambiguous
Note: there is a potential instance available:
@@ -42,6 +44,7 @@ rebindable6.hs:107:17:
rebindable6.hs:108:17:
No instance for (HasReturn (b -> t1))
+ (maybe you haven't applied enough arguments to a function?)
arising from a use of ‘return’
The type variable ‘t1’ is ambiguous
Relevant bindings include