summaryrefslogtreecommitdiff
path: root/compiler/rename/RnSource.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2017-04-08 16:42:32 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2017-04-12 19:56:25 +0100
commite07cd507ff879a5afc382e1a28af0f5f17fa7ce6 (patch)
treef3413e30fe7a98b14dd23a4a6cb25a3e0299e493 /compiler/rename/RnSource.hs
parent68c00a1b38707b2a5c813cbe3da3ffb7d97893b6 (diff)
downloadhaskell-e07cd507ff879a5afc382e1a28af0f5f17fa7ce6.tar.gz
Split up RnEnv into 4 modules, RnUnbound, RnUtils and RnFixity
Summary: RnEnv contains functions which convertn RdrNames into Names. RnUnbound contains helper functions for reporting and creating unbound variables. RnFixity contains code which maintains the fixity environent whilst renaming. RnUtils contains the other stuff in RnEnv. Reviewers: austin, goldfire, bgamari Subscribers: goldfire, rwbarton, thomie, snowleopard Differential Revision: https://phabricator.haskell.org/D3436
Diffstat (limited to 'compiler/rename/RnSource.hs')
-rw-r--r--compiler/rename/RnSource.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rename/RnSource.hs b/compiler/rename/RnSource.hs
index af145e815f..572ed82814 100644
--- a/compiler/rename/RnSource.hs
+++ b/compiler/rename/RnSource.hs
@@ -21,6 +21,11 @@ import RdrName
import RnTypes
import RnBinds
import RnEnv
+import RnUtils ( HsDocContext(..), mapFvRn, bindLocalNames
+ , checkDupRdrNames, inHsDocContext, bindLocalNamesFV
+ , checkShadowedRdrNames, warnUnusedTypePatterns
+ , extendTyVarEnvFVRn, newLocalBndrsRn )
+import RnUnbound ( mkUnboundName )
import RnNames
import RnHsDoc ( rnHsDoc, rnMbLHsDoc )
import TcAnnotations ( annCtxt )