summaryrefslogtreecommitdiff
path: root/compiler/stgSyn/StgLint.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/stgSyn/StgLint.lhs')
-rw-r--r--compiler/stgSyn/StgLint.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stgSyn/StgLint.lhs b/compiler/stgSyn/StgLint.lhs
index 852202f5f7..3509a83849 100644
--- a/compiler/stgSyn/StgLint.lhs
+++ b/compiler/stgSyn/StgLint.lhs
@@ -232,7 +232,7 @@ lintStgAlts alts scrut_ty = do
where
-- check ty = checkTys first_ty ty (mkCaseAltMsg alts)
-- We can't check that the alternatives have the
- -- same type, becuase they don't, with unsafeCoerce#
+ -- same type, because they don't, with unsafeCoerce#
lintAlt :: Type -> (AltCon, [Id], [Bool], StgExpr) -> LintM (Maybe Type)
lintAlt _ (DEFAULT, _, _, rhs)