[commit: ghc] master: Typos in comments only (ab1a758)
git at git.haskell.org
git at git.haskell.org
Wed Oct 11 12:30:21 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/ab1a7583635fe2da3a91b70278366ed8f28aa676/ghc
>---------------------------------------------------------------
commit ab1a7583635fe2da3a91b70278366ed8f28aa676
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Oct 5 15:02:12 2017 +0100
Typos in comments only
>---------------------------------------------------------------
ab1a7583635fe2da3a91b70278366ed8f28aa676
compiler/typecheck/TcErrors.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/typecheck/TcErrors.hs b/compiler/typecheck/TcErrors.hs
index 82bcb51..27569b5 100644
--- a/compiler/typecheck/TcErrors.hs
+++ b/compiler/typecheck/TcErrors.hs
@@ -683,7 +683,7 @@ We'd like to point out that the T3 match is inaccessible. It
will have a Given constraint [G] Int ~ Bool.
But we don't want to report ALL insoluble Given constraints. See Trac
-#12466 for a long discussion on. For example, if we aren't careful
+#12466 for a long discussion. For example, if we aren't careful
we'll complain about
f :: ((Int ~ Bool) => a -> a) -> Int
which arguably is OK. It's more debatable for
@@ -691,7 +691,7 @@ which arguably is OK. It's more debatable for
but it's tricky to distinguish these cases to we don't report
either.
-The bottom line is this: find_gadt_match looks for an encosing
+The bottom line is this: find_gadt_match looks for an enclosing
pattern match which binds some equality constraints. If we
find one, we report the insoluble Given.
-}
More information about the ghc-commits
mailing list