summaryrefslogtreecommitdiff
path: root/testsuite/tests/module
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2017-01-17 15:55:28 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-17 15:56:28 -0500
commite195add1f203a0e169a2ea6e58be8d7989e9e0a4 (patch)
tree708823a27800823acdc57875f0c9ec9cd3e46fa0 /testsuite/tests/module
parentd5cd505bc484edee3dbd5d41fb7a27c2e18d528d (diff)
downloadhaskell-e195add1f203a0e169a2ea6e58be8d7989e9e0a4.tar.gz
Unquote ‘import’ in bad import error message
In module ‘Prelude’: ‘True’ is a data constructor of ‘Bool’ To import it use ‘import’ Prelude( Bool( True ) ) The quotes around `import` don't make any sense. Test Plan: manual Reviewers: austin, mpickering, bgamari Reviewed By: mpickering, bgamari Subscribers: dfeuer, thomie Differential Revision: https://phabricator.haskell.org/D2935
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r--testsuite/tests/module/mod90.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/module/mod90.stderr b/testsuite/tests/module/mod90.stderr
index 9febfe3628..78a0040303 100644
--- a/testsuite/tests/module/mod90.stderr
+++ b/testsuite/tests/module/mod90.stderr
@@ -1,8 +1,8 @@
-mod90.hs:3:16:
+mod90.hs:3:16: error:
In module ‘Prelude’:
‘Left’ is a data constructor of ‘Either’
To import it use
- ‘import’ Prelude( Either( Left ) )
+ import Prelude( Either( Left ) )
or
- ‘import’ Prelude( Either(..) )
+ import Prelude( Either(..) )