summaryrefslogtreecommitdiff
path: root/compiler/rename/RnNames.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-12-19 13:52:06 +0100
committerGabor Greif <ggreif@gmail.com>2017-12-19 14:35:03 +0100
commita100763cc5c6c9736a00ca57b2ec3c721311eecb (patch)
treede71d4f3c962713260557b63bb3a1f3688ac03ad /compiler/rename/RnNames.hs
parent244d1441bbe9a8d5e83015c749d1339b8f7c7319 (diff)
downloadhaskell-a100763cc5c6c9736a00ca57b2ec3c721311eecb.tar.gz
Get rid of some stuttering in comments and docs
Diffstat (limited to 'compiler/rename/RnNames.hs')
-rw-r--r--compiler/rename/RnNames.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs
index 60c8b1b7dd..ae3f75b1d0 100644
--- a/compiler/rename/RnNames.hs
+++ b/compiler/rename/RnNames.hs
@@ -134,7 +134,7 @@ So there is an interesting design question in regards to transitive trust
checking. Say I have a module B compiled with -XSafe. B is dependent on a bunch
of modules and packages, some packages it requires to be trusted as its using
-XTrustworthy modules from them. Now if I have a module A that doesn't use safe
-haskell at all and simply imports B, should A inherit all the the trust
+haskell at all and simply imports B, should A inherit all the trust
requirements from B? Should A now also require that a package p is trusted since
B required it?
@@ -1177,7 +1177,7 @@ warnMissingSignatures gbl_env
pat_syns = tcg_patsyns gbl_env
-- Warn about missing signatures
- -- Do this only when we we have a type to offer
+ -- Do this only when we have a type to offer
; warn_missing_sigs <- woptM Opt_WarnMissingSignatures
; warn_only_exported <- woptM Opt_WarnMissingExportedSignatures
; warn_pat_syns <- woptM Opt_WarnMissingPatternSynonymSignatures