[commit: ghc] master: Typo in comments (928f606)

git at git.haskell.org git at git.haskell.org
Wed May 23 13:38:00 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/928f606b80f6409aae41080e41c1daf075759d0a/ghc

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

commit 928f606b80f6409aae41080e41c1daf075759d0a
Author: Gabor Greif <ggreif at gmail.com>
Date:   Wed Feb 7 16:54:38 2018 +0100

    Typo in comments


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

928f606b80f6409aae41080e41c1daf075759d0a
 compiler/basicTypes/PatSyn.hs | 2 +-
 compiler/cmm/CLabel.hs        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/basicTypes/PatSyn.hs b/compiler/basicTypes/PatSyn.hs
index 35ba8e9..2e838d6 100644
--- a/compiler/basicTypes/PatSyn.hs
+++ b/compiler/basicTypes/PatSyn.hs
@@ -162,7 +162,7 @@ type (T [a] Bool).  For example, this is ill-typed
    f :: T p q -> String
    f (P x) = "urk"
 
-This is differnet to the situation with GADTs:
+This is different to the situation with GADTs:
 
    data S a where
      MkS :: Int -> S Bool
diff --git a/compiler/cmm/CLabel.hs b/compiler/cmm/CLabel.hs
index 38efd12..3dfd7a7 100644
--- a/compiler/cmm/CLabel.hs
+++ b/compiler/cmm/CLabel.hs
@@ -1187,7 +1187,7 @@ pprCLbl (SRTLabel u)
 pprCLbl (LargeBitmapLabel u)  = text "b" <> pprUniqueAlways u <> pp_cSEP <> text "btm"
 -- Some bitsmaps for tuple constructors have a numeric tag (e.g. '7')
 -- until that gets resolved we'll just force them to start
--- with a letter so the label will be legal assmbly code.
+-- with a letter so the label will be legal assembly code.
 
 
 pprCLbl (CmmLabel _ str CmmCode)        = ftext str



More information about the ghc-commits mailing list