From e195add1f203a0e169a2ea6e58be8d7989e9e0a4 Mon Sep 17 00:00:00 2001 From: Phil Ruffwind Date: Tue, 17 Jan 2017 15:55:28 -0500 Subject: =?UTF-8?q?Unquote=20=E2=80=98import=E2=80=99=20in=20bad=20import?= =?UTF-8?q?=20error=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- testsuite/tests/module/mod90.stderr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/tests/module/mod90.stderr') 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(..) ) -- cgit v1.2.1