[commit: ghc] master: Typos in comments (e319466)

git at git.haskell.org git at git.haskell.org
Fri Nov 25 13:11:51 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e31946600b0c4ecfb88eaa64fa2aeebf9194a809/ghc

>---------------------------------------------------------------

commit e31946600b0c4ecfb88eaa64fa2aeebf9194a809
Author: Gabor Greif <ggreif at gmail.com>
Date:   Fri Nov 25 14:09:47 2016 +0100

    Typos in comments


>---------------------------------------------------------------

e31946600b0c4ecfb88eaa64fa2aeebf9194a809
 compiler/typecheck/TcType.hs | 2 +-
 testsuite/driver/testlib.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/typecheck/TcType.hs b/compiler/typecheck/TcType.hs
index 0468b39..bbf4712 100644
--- a/compiler/typecheck/TcType.hs
+++ b/compiler/typecheck/TcType.hs
@@ -1821,7 +1821,7 @@ Notice that
       (Eq a, (Ord a, Ix a))
    And this is try of any class that we can statically guarantee
    as non-recursive (in some sense).  For now, we just make a special
-   case for tuples.  Somthing better would be cool.
+   case for tuples.  Something better would be cool.
 
 See also TcTyDecls.checkClassCycles.
 
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 7afabaa..d9d3335 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1651,7 +1651,7 @@ def normalise_prof (str):
     # sometimes under MAIN.
     str = re.sub('[ \t]*main[ \t]+Main.*\n','',str)
 
-    # We have somthing like this:
+    # We have something like this:
     #
     # MAIN         MAIN  <built-in>                 53  0  0.0   0.2  0.0  100.0
     #  CAF         Main  <entire-module>           105  0  0.0   0.3  0.0   62.5



More information about the ghc-commits mailing list