diff options
| author | Joachim Breitner <mail@joachim-breitner.de> | 2015-11-18 12:18:17 +0100 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-18 12:18:46 +0100 |
| commit | 11e336e4a4f7a0c0319d9bfb1a6931a5861299cf (patch) | |
| tree | 6b8f588408d975bca31cbb685445f9d2c46ebd89 /compiler/rename/RnNames.hs | |
| parent | 98a4fa5fb740ce43a1787eb5730e35b463a2de79 (diff) | |
| download | haskell-11e336e4a4f7a0c0319d9bfb1a6931a5861299cf.tar.gz | |
More import related hints
Now for unqualified imports. Improves upon #11071.
Unfortunately, it seems that since 7.10, ghc will not print all
out-of-scope errors.
Test Plan: test suite updated
Reviewers: austin, thomie, bgamari
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D1478
GHC Trac Issues: #11071
Diffstat (limited to 'compiler/rename/RnNames.hs')
| -rw-r--r-- | compiler/rename/RnNames.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs index 8d4986e969..32f0f9420f 100644 --- a/compiler/rename/RnNames.hs +++ b/compiler/rename/RnNames.hs @@ -284,6 +284,7 @@ rnImportDecl this_mod , imv_is_safe = mod_safe' , imv_is_hiding = is_hiding , imv_all_exports = potential_gres + , imv_qualified = qual_only } let imports = (calculateAvails dflags iface mod_safe' want_boot) |
