summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Env
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-02-04 17:38:08 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-26 19:00:07 -0400
commitd930fecb6d241c1eb13c30cf1126132766ff602e (patch)
tree6310749b25fe2a53f6e1c389b67f28f6b6e295f4 /compiler/GHC/Driver/Env
parent0d5d344d45c200a5e731e7d067598acd2a4f7050 (diff)
downloadhaskell-d930fecb6d241c1eb13c30cf1126132766ff602e.tar.gz
Refactor interface loading
In order to support several home-units and several independent unit-databases, it's easier to explicitly pass UnitState, DynFlags, etc. to interface loading functions. This patch converts some functions using monads such as IfG or TcRnIf with implicit access to HscEnv to use IO instead and to pass them specific fields of HscEnv instead of an HscEnv value.
Diffstat (limited to 'compiler/GHC/Driver/Env')
0 files changed, 0 insertions, 0 deletions