summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail08.stderr
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/annotations/should_fail/annfail08.stderr
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/annotations/should_fail/annfail08.stderr')
-rw-r--r--testsuite/tests/annotations/should_fail/annfail08.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail08.stderr b/testsuite/tests/annotations/should_fail/annfail08.stderr
index b2d119de68..0449033685 100644
--- a/testsuite/tests/annotations/should_fail/annfail08.stderr
+++ b/testsuite/tests/annotations/should_fail/annfail08.stderr
@@ -1,9 +1,12 @@
annfail08.hs:9:1:
No instance for (Data.Data.Data (a0 -> a0))
+ (maybe you haven't applied enough arguments to a function?)
arising from an annotation
In the annotation: {-# ANN f (id + 1) #-}
annfail08.hs:9:15:
- No instance for (Num (a0 -> a0)) arising from a use of ‘+’
+ No instance for (Num (a0 -> a0))
+ (maybe you haven't applied enough arguments to a function?)
+ arising from a use of ‘+’
In the annotation: {-# ANN f (id + 1) #-}