[commit: ghc] wip/tdammers/T11735-2: Make mkNthCo take a Role parameter. (705fe73)

git at git.haskell.org git at git.haskell.org
Tue Jan 30 12:24:04 UTC 2018


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

On branch  : wip/tdammers/T11735-2
Link       : http://ghc.haskell.org/trac/ghc/changeset/705fe73023113cb045c9d4ab725b65c0b52bf7fe/ghc

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

commit 705fe73023113cb045c9d4ab725b65c0b52bf7fe
Author: Richard Eisenberg <rae at cs.brynmawr.edu>
Date:   Fri Jan 26 22:09:33 2018 -0500

    Make mkNthCo take a Role parameter.
    
    Most callers of mkNthCo know the role of the coercion they
    are trying to make. So instead of calculating this role, just
    pass it in.


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

705fe73023113cb045c9d4ab725b65c0b52bf7fe
 compiler/coreSyn/CoreLint.hs      |  11 +++-
 compiler/coreSyn/CoreOpt.hs       |  30 ++++-----
 compiler/coreSyn/CoreUtils.hs     |   4 +-
 compiler/iface/TcIface.hs         |   2 +-
 compiler/typecheck/TcCanonical.hs |   2 +-
 compiler/typecheck/TcEvidence.hs  |  10 +--
 compiler/typecheck/TcUnify.hs     |   4 +-
 compiler/types/Coercion.hs        | 135 +++++++++++++++++++++-----------------
 compiler/types/Coercion.hs-boot   |   2 +-
 compiler/types/OptCoercion.hs     | 109 +++++++++++++-----------------
 compiler/types/TyCoRep.hs         |  11 ++--
 compiler/types/Type.hs            |   6 +-
 compiler/types/Unify.hs           |   4 +-
 13 files changed, 164 insertions(+), 166 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 705fe73023113cb045c9d4ab725b65c0b52bf7fe


More information about the ghc-commits mailing list