summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2018-02-07 16:54:38 +0100
committerGabor Greif <ggreif@gmail.com>2018-05-23 15:26:52 +0200
commit928f606b80f6409aae41080e41c1daf075759d0a (patch)
tree3674592d651fa07b618ecf54077fe63a795c7f21
parentdb6085b84139f4454cebf34f887cb5560a4fbc7b (diff)
downloadhaskell-928f606b80f6409aae41080e41c1daf075759d0a.tar.gz
Typo in comments
-rw-r--r--compiler/basicTypes/PatSyn.hs2
-rw-r--r--compiler/cmm/CLabel.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/basicTypes/PatSyn.hs b/compiler/basicTypes/PatSyn.hs
index 35ba8e9ae4..2e838d6b82 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 38efd12cf5..3dfd7a7d1d 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