[commit: ghc] master: Rename cmpType to nonDetCmpType (9d22fbe)

git at git.haskell.org git at git.haskell.org
Tue Jun 14 15:58:03 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9d22fbe2d3d8c4609919040007ea8bb561bf9a38/ghc

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

commit 9d22fbe2d3d8c4609919040007ea8bb561bf9a38
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Tue Jun 14 08:59:07 2016 -0700

    Rename cmpType to nonDetCmpType
    
    This makes it obvious that it's nondeterministic and hopefully
    will prevent someone from using it accidentally.
    
    GHC Trac: #4012


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

9d22fbe2d3d8c4609919040007ea8bb561bf9a38
 compiler/specialise/Specialise.hs |  4 +--
 compiler/typecheck/TcDeriv.hs     |  8 ++---
 compiler/typecheck/TcType.hs      |  2 +-
 compiler/typecheck/TcValidity.hs  |  4 ++-
 compiler/types/Type.hs            | 62 ++++++++++++++++++++++-----------------
 5 files changed, 45 insertions(+), 35 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 9d22fbe2d3d8c4609919040007ea8bb561bf9a38


More information about the ghc-commits mailing list