Fix type-variable details naming (fixes misleading debug output)
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 10 Dec 2014 13:12:47 +0000 (13:12 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 10 Dec 2014 16:01:16 +0000 (16:01 +0000)
compiler/typecheck/TcType.hs

index 5945bde..a00cd3b 100644 (file)
@@ -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")