[commit: ghc] master: Change loadSrcInterface to return a list of ModIface (8c7d20d)

git at git.haskell.org git at git.haskell.org
Thu Nov 27 01:24:53 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8c7d20d8c7e63a1123755aae69cfa825c749e9e8/ghc

>---------------------------------------------------------------

commit 8c7d20d8c7e63a1123755aae69cfa825c749e9e8
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Tue Nov 4 02:13:37 2014 -0800

    Change loadSrcInterface to return a list of ModIface
    
    Summary:
    This change is in preparation to support signature imports, which may pull in
    multiple interface files.  At the moment, the list always contains only one
    element, but in a later patch it may contain more.
    
    I also adjusted some error reporting code so that it didn't take the full
    iface, but just whether or not the iface in question was a boot module.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: validate
    
    Reviewers: simonpj, austin
    
    Subscribers: thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D436


>---------------------------------------------------------------

8c7d20d8c7e63a1123755aae69cfa825c749e9e8
 compiler/iface/LoadIface.lhs | 50 ++++++++++++++++++++++++++----
 compiler/rename/RnEnv.lhs    |  7 +++--
 compiler/rename/RnNames.lhs  | 74 +++++++++++++++++++++++++++-----------------
 3 files changed, 94 insertions(+), 37 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8c7d20d8c7e63a1123755aae69cfa825c749e9e8


More information about the ghc-commits mailing list