[commit: ghc] wip/T12382: tidyOccNames: Rename variables fairly (ea8023e)
git at git.haskell.org
git at git.haskell.org
Wed Jul 13 09:38:19 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T12382
Link : http://ghc.haskell.org/trac/ghc/changeset/ea8023e7dd1982e7359e8e1c4d9af34e54e2ee7e/ghc
>---------------------------------------------------------------
commit ea8023e7dd1982e7359e8e1c4d9af34e54e2ee7e
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Tue Jul 12 17:21:07 2016 +0200
tidyOccNames: Rename variables fairly
So that
> :t (id,id,id)
produces
(id,id,id) :: (a3 -> a3, a2 -> a2, a1 -> a1)
instead of
(id,id,id) :: (a2 -> a2, a1 -> a1, a -> a)
>---------------------------------------------------------------
ea8023e7dd1982e7359e8e1c4d9af34e54e2ee7e
compiler/basicTypes/OccName.hs | 59 +++++++++++++++++++---
compiler/types/TyCoRep.hs | 10 +++-
testsuite/tests/ado/ado004.stderr | 14 ++---
testsuite/tests/driver/werror.stderr | 2 +-
testsuite/tests/ghci/scripts/T6018ghcifail.stderr | 2 +-
testsuite/tests/ghci/scripts/T7587.stdout | 2 +-
testsuite/tests/ghci/scripts/T7730.stdout | 2 +-
testsuite/tests/ghci/scripts/ghci013.stdout | 2 +-
.../partial-sigs/should_compile/Uncurry.stderr | 2 +-
.../tests/typecheck/should_compile/tc168.stderr | 2 +-
.../tests/typecheck/should_fail/T6018fail.stderr | 2 +-
.../typecheck/should_fail/T6018failclosed.stderr | 4 +-
12 files changed, 78 insertions(+), 25 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 ea8023e7dd1982e7359e8e1c4d9af34e54e2ee7e
More information about the ghc-commits
mailing list