summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2018-03-05 14:40:37 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2018-03-05 14:45:28 +0000
commit1c062b794bf71a329f65813ce7b72fe2bd3935f0 (patch)
treed2ff58d11b567cb8d61396006e719de7b2843b0f /testsuite/tests/parser
parent6ee831f279c91888ee5815f8eee473bcd6fd25c6 (diff)
downloadhaskell-1c062b794bf71a329f65813ce7b72fe2bd3935f0.tar.gz
Simplify rnLHsInstType
This patch is preparatory for the main fix for Trac #13324 Here, we simplify rnLHsInstType so that it does not try to figure out the class name. This turns out to have a good (rather than bad) effect on error messages, and it prepares the way for the main event. Plus, less code!
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r--testsuite/tests/parser/should_fail/T3811c.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/parser/should_fail/T3811c.stderr b/testsuite/tests/parser/should_fail/T3811c.stderr
index 4a371165fb..dd219184e7 100644
--- a/testsuite/tests/parser/should_fail/T3811c.stderr
+++ b/testsuite/tests/parser/should_fail/T3811c.stderr
@@ -1,2 +1,5 @@
-T3811c.hs:6:10: Malformed instance: !Show D
+T3811c.hs:6:10: error:
+ ā€¢ Unexpected strictness annotation: !Show
+ strictness annotation cannot appear nested inside a type
+ ā€¢ In the instance declaration for ā€˜!Show Dā€™