[commit: ghc] wip/tdammers/T11735: Make mkNthCo take a Role parameter. (8a6aa50)

git at git.haskell.org git at git.haskell.org
Sat Jan 27 03:58:12 UTC 2018


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

On branch  : wip/tdammers/T11735
Link       : http://ghc.haskell.org/trac/ghc/changeset/8a6aa5030d34592200fbe799bf38abf3701544db/ghc

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

commit 8a6aa5030d34592200fbe799bf38abf3701544db
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.


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

8a6aa5030d34592200fbe799bf38abf3701544db
 compiler/coreSyn/CoreLint.hs      |  11 ++-
 compiler/coreSyn/CoreOpt.hs       |  24 +++----
 compiler/coreSyn/CoreUtils.hs     |   4 +-
 compiler/iface/TcIface.hs         |   2 +-
 compiler/typecheck/TcCanonical.hs |   2 +-
 compiler/typecheck/TcEvidence.hs  |   4 +-
 compiler/typecheck/TcUnify.hs     |   4 +-
 compiler/types/Coercion.hs        | 146 +++++++++++++++++++-------------------
 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, 159 insertions(+), 170 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 8a6aa5030d34592200fbe799bf38abf3701544db


More information about the ghc-commits mailing list