[commit: ghc] master: Correct spelling in note references (28a00ea)

git at git.haskell.org git at git.haskell.org
Fri Sep 30 14:38:30 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/28a00eafd7abc474e6e5c3d92d3c0ec561906c0b/ghc

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

commit 28a00eafd7abc474e6e5c3d92d3c0ec561906c0b
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Sep 30 16:37:53 2016 +0200

    Correct spelling in note references


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

28a00eafd7abc474e6e5c3d92d3c0ec561906c0b
 compiler/types/TyCoRep.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/types/TyCoRep.hs b/compiler/types/TyCoRep.hs
index 50d1cba..7525f12 100644
--- a/compiler/types/TyCoRep.hs
+++ b/compiler/types/TyCoRep.hs
@@ -2954,7 +2954,7 @@ pprTcApp_help to_type p pp tc tys dflags style
     pp_tc        = ppr tc
     tys_wo_kinds = suppressInvisibles to_type dflags tc tys
 
-    -- See Note [Printing eqauality constraints]
+    -- See Note [Printing equality constraints]
     mb_saturated_equality
       | hetero_eq_tc
       , [k1, k2, t1, t2] <- tys
@@ -2965,13 +2965,13 @@ pprTcApp_help to_type p pp tc tys dflags style
       | otherwise
       = Nothing
 
-    -- See Note [Printing eqauality constraints]
+    -- See Note [Printing equality constraints]
     homo_eq_tc   =  tc `hasKey` eqTyConKey             -- ~
     hetero_eq_tc =  tc `hasKey` eqPrimTyConKey         -- ~#
                  || tc `hasKey` eqReprPrimTyConKey     -- ~R#
                  || tc `hasKey` heqTyConKey            -- ~~
 
-    -- See Note [Printing eqauality constraints]
+    -- See Note [Printing equality constraints]
     print_equality (ki1, ki2, ty1, ty2)
       | print_eqs
       = ppr_infix_eq pp_tc



More information about the ghc-commits mailing list