diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2017-11-13 09:16:01 +1300 |
---|---|---|
committer | Douglas Wilson <douglas.wilson@gmail.com> | 2017-11-13 09:16:01 +1300 |
commit | 667deafa5b13593eb91239856a5f0b8db2ca4d19 (patch) | |
tree | a93dc33b3fc100bf3eb532007af950cac849c87a /compiler/iface/LoadIface.hs | |
parent | 438dd1cbba13d35f3452b4dcef3f94ce9a216905 (diff) | |
download | haskell-wip/D4170.tar.gz |
Store ModIface exports in an arraywip/D4170
Summary:
To lessen cascading changes, the old field name mi_exports (returning a list) is
exported as an accessor function and the field is replaced with mi_exports_arr.
There are many more lists that would likely benefit from the same treatment,
but one thing at a time.
Test Plan: Check gipedia
Reviewers: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4170
Diffstat (limited to 'compiler/iface/LoadIface.hs')
-rw-r--r-- | compiler/iface/LoadIface.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/LoadIface.hs b/compiler/iface/LoadIface.hs index b91d984b9a..54a051dc17 100644 --- a/compiler/iface/LoadIface.hs +++ b/compiler/iface/LoadIface.hs @@ -947,7 +947,7 @@ initExternalPackageState ghcPrimIface :: ModIface ghcPrimIface = (emptyModIface gHC_PRIM) { - mi_exports = ghcPrimExports, + mi_exports_arr = ghcPrimExports, mi_decls = [], mi_fixities = fixities, mi_fix_fn = mkIfaceFixCache fixities |