[commit: ghc] master: Rename a parameter; trivial refactor (b5c8963)
git at git.haskell.org
git at git.haskell.org
Mon Oct 10 10:51:28 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b5c896369a60effd78d5bcd3161d6225929eaf39/ghc
>---------------------------------------------------------------
commit b5c896369a60effd78d5bcd3161d6225929eaf39
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Oct 7 23:55:54 2016 +0100
Rename a parameter; trivial refactor
>---------------------------------------------------------------
b5c896369a60effd78d5bcd3161d6225929eaf39
compiler/typecheck/TcHsSyn.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/typecheck/TcHsSyn.hs b/compiler/typecheck/TcHsSyn.hs
index b444385..efb7dfe 100644
--- a/compiler/typecheck/TcHsSyn.hs
+++ b/compiler/typecheck/TcHsSyn.hs
@@ -252,8 +252,8 @@ extendIdZonkEnv1 (ZonkEnv zonk_ty ty_env id_env) id
= ZonkEnv zonk_ty ty_env (extendVarEnv id_env id id)
extendTyZonkEnv1 :: ZonkEnv -> TyVar -> ZonkEnv
-extendTyZonkEnv1 (ZonkEnv zonk_ty ty_env id_env) ty
- = ZonkEnv zonk_ty (extendVarEnv ty_env ty ty) id_env
+extendTyZonkEnv1 (ZonkEnv zonk_ty ty_env id_env) tv
+ = ZonkEnv zonk_ty (extendVarEnv ty_env tv tv) id_env
setZonkType :: ZonkEnv -> UnboundTyVarZonker -> ZonkEnv
setZonkType (ZonkEnv _ ty_env id_env) zonk_ty
More information about the ghc-commits
mailing list