summaryrefslogtreecommitdiff
path: root/compiler/rename/RnNames.hs
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-11-18 12:18:17 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-18 12:18:46 +0100
commit11e336e4a4f7a0c0319d9bfb1a6931a5861299cf (patch)
tree6b8f588408d975bca31cbb685445f9d2c46ebd89 /compiler/rename/RnNames.hs
parent98a4fa5fb740ce43a1787eb5730e35b463a2de79 (diff)
downloadhaskell-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.hs1
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)