summaryrefslogtreecommitdiff
path: root/compiler/stgSyn
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-09-06 14:42:02 +0200
committerGabor Greif <ggreif@gmail.com>2017-09-07 11:55:07 +0200
commitd97a6fe2b97c81a167219eae892d3820c0685435 (patch)
tree4387af534308dbaa966a80f28abc3ceeabf43219 /compiler/stgSyn
parentfee403fd935479e8a1ad563fd07585d91c7e04a2 (diff)
downloadhaskell-d97a6fe2b97c81a167219eae892d3820c0685435.tar.gz
Fix typos in diagnostics, testsuite and comments
Diffstat (limited to 'compiler/stgSyn')
-rw-r--r--compiler/stgSyn/StgLint.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stgSyn/StgLint.hs b/compiler/stgSyn/StgLint.hs
index 90628f050d..d7ecbe6345 100644
--- a/compiler/stgSyn/StgLint.hs
+++ b/compiler/stgSyn/StgLint.hs
@@ -426,7 +426,7 @@ checkFunApp fun_ty arg_tys msg
= (Nothing, Nothing)
-- | "Compare" types. We used to try a crude comparison of the type themselves,
--- but this is essentially impossible in STG as we have discarded. both casts
+-- but this is essentially impossible in STG as we have discarded both casts
-- and type applications, so types might look different but be the same. Now we
-- simply compare their runtime representations. See #14120.
stgEqType :: Type -> Type -> Bool