From e2c917381ff099820b1ee30fcfa8bc0c20cf5c1f Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 15 Dec 2015 16:08:52 +0100 Subject: Narrow scope of special-case for unqualified printing of names in core libraries Commit 547c597112954353cef7157cb0a389bc4f6303eb modifies the pretty-printer to render names from a set of core packages (`base`, `ghc-prim`, `template-haskell`) as unqualified. The idea here was that many of these names typically are not in scope but are well-known by the user and therefore qualification merely introduces noise. This, however, is a very large hammer and potentially breaks any consumer who relies on parsing GHC output (hence #11208). This commit partially reverts this change, now only printing `Constraint` (which appears quite often in errors) as unqualified. Fixes #11208. Updates tests in `array` submodule. Test Plan: validate Reviewers: hvr, thomie, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1619 GHC Trac Issues: #11208 --- libraries/array | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/array') diff --git a/libraries/array b/libraries/array index 4b43c95af8..f643793b3f 160000 --- a/libraries/array +++ b/libraries/array @@ -1 +1 @@ -Subproject commit 4b43c95af80ed7e1567244527e5e459912d3e504 +Subproject commit f643793b3fbffd7419f403bedc65b7ac06dff0cd -- cgit v1.2.1