[commit: ghc] master: Change "cobox" to "co" in debug output (79ae03a)

git at git.haskell.org git at git.haskell.org
Wed Oct 11 12:30:10 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/79ae03aa32c277ae93827519ed7738938e3e1572/ghc

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

commit 79ae03aa32c277ae93827519ed7738938e3e1572
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Oct 6 13:39:54 2017 +0100

    Change "cobox" to "co" in debug output
    
    These coercions are /not/ boxed, so "cobox" is positively misleading.
    And it's longer than necessary.


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

79ae03aa32c277ae93827519ed7738938e3e1572
 compiler/typecheck/TcMType.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcMType.hs b/compiler/typecheck/TcMType.hs
index eabb44d..e89abe1 100644
--- a/compiler/typecheck/TcMType.hs
+++ b/compiler/typecheck/TcMType.hs
@@ -242,7 +242,7 @@ newDict cls tys
 predTypeOccName :: PredType -> OccName
 predTypeOccName ty = case classifyPredType ty of
     ClassPred cls _ -> mkDictOcc (getOccName cls)
-    EqPred _ _ _    -> mkVarOccFS (fsLit "cobox")
+    EqPred _ _ _    -> mkVarOccFS (fsLit "co")
     IrredPred _     -> mkVarOccFS (fsLit "irred")
 
 {-



More information about the ghc-commits mailing list