[commit: ghc] master: Fix type-variable details naming (fixes misleading debug output) (3e234f7)

git at git.haskell.org git at git.haskell.org
Wed Dec 10 16:00:31 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3e234f73c0a5537bdaf518d0ace375541f158a47/ghc

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

commit 3e234f73c0a5537bdaf518d0ace375541f158a47
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Dec 10 13:12:47 2014 +0000

    Fix type-variable details naming (fixes misleading debug output)


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

3e234f73c0a5537bdaf518d0ace375541f158a47
 compiler/typecheck/TcType.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/typecheck/TcType.hs b/compiler/typecheck/TcType.hs
index 5945bde..a00cd3b 100644
--- a/compiler/typecheck/TcType.hs
+++ b/compiler/typecheck/TcType.hs
@@ -522,8 +522,8 @@ pprTcTyVarDetails (MetaTv { mtv_info = info, mtv_tclvl = tclvl })
   where
     pp_info = case info of
                 ReturnTv    -> ptext (sLit "ret")
-                TauTv True  -> ptext (sLit "tau")
-                TauTv False -> ptext (sLit "twc")
+                TauTv True  -> ptext (sLit "twc")
+                TauTv False -> ptext (sLit "tau")
                 SigTv       -> ptext (sLit "sig")
                 FlatMetaTv  -> ptext (sLit "fuv")
 



More information about the ghc-commits mailing list