summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-10-18 08:49:21 +0200
committerGabor Greif <ggreif@gmail.com>2017-10-18 22:42:17 +0200
commitaba7786068aea673af7576a9082b8201036978b3 (patch)
tree931bc13638012cc9be6648e9b3f9455c6fb79f37 /compiler
parent5a66d574890ed09859ca912c9e0969dba72f4a23 (diff)
downloadhaskell-aba7786068aea673af7576a9082b8201036978b3.tar.gz
Typofix in comment
Diffstat (limited to 'compiler')
-rw-r--r--compiler/cmm/CmmSwitch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmSwitch.hs b/compiler/cmm/CmmSwitch.hs
index 53d00de95a..02a581b061 100644
--- a/compiler/cmm/CmmSwitch.hs
+++ b/compiler/cmm/CmmSwitch.hs
@@ -109,7 +109,7 @@ data SwitchTargets =
(M.Map Integer Label) -- The branches
deriving (Show, Eq)
--- | The smart constructr mkSwitchTargets normalises the map a bit:
+-- | The smart constructor mkSwitchTargets normalises the map a bit:
-- * No entries outside the range
-- * No entries equal to the default
-- * No default if all elements have explicit values