[commit: ghc] master: Minor refactoring of Edward's recent orphans patch (Trac #2182) (2a67fb3)

git at git.haskell.org git at git.haskell.org
Tue Dec 2 13:27:49 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2a67fb3990f23391fecaec335f0d010434d2738e/ghc

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

commit 2a67fb3990f23391fecaec335f0d010434d2738e
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Dec 2 12:11:52 2014 +0000

    Minor refactoring of Edward's recent orphans patch (Trac #2182)
    
    This patch is all small stuff
      - Move VisibleOrphanModules from Module to InstEnv (with the other orphan stuff)
      - Move Notes about orphans from IfaceSyn to InstEnv (ditto)
      - Make use of the record field names in InstEnvs


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

2a67fb3990f23391fecaec335f0d010434d2738e
 compiler/basicTypes/Module.lhs    |   7 +-
 compiler/iface/IfaceSyn.lhs       |  75 +------
 compiler/iface/MkIface.lhs        |   6 +-
 compiler/typecheck/Inst.lhs       |  15 +-
 compiler/typecheck/TcEnv.lhs      |  21 +-
 compiler/typecheck/TcRnDriver.lhs |   3 +-
 compiler/typecheck/TcRnTypes.lhs  |   1 +
 compiler/types/InstEnv.hs         | 413 ++++++++++++++++++++++++--------------
 8 files changed, 289 insertions(+), 252 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 2a67fb3990f23391fecaec335f0d010434d2738e


More information about the ghc-commits mailing list