[commit: ghc] master: Typos in note header and test (99e920c)

git at git.haskell.org git at git.haskell.org
Wed Feb 1 08:22:59 UTC 2017


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

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

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

commit 99e920c1287e0b11892b47078e8d0dfabef8e0f2
Author: Gabor Greif <ggreif at gmail.com>
Date:   Tue Jan 31 12:41:29 2017 +0100

    Typos in note header and test


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

99e920c1287e0b11892b47078e8d0dfabef8e0f2
 compiler/coreSyn/CoreUtils.hs                      | 2 +-
 testsuite/tests/deSugar/should_run/DsStrict.hs     | 2 +-
 testsuite/tests/deSugar/should_run/DsStrict.stdout | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/coreSyn/CoreUtils.hs b/compiler/coreSyn/CoreUtils.hs
index d8e34ad..d856e3d 100644
--- a/compiler/coreSyn/CoreUtils.hs
+++ b/compiler/coreSyn/CoreUtils.hs
@@ -1138,7 +1138,7 @@ exprIsOk ok_app e
     go _ (Let {})                     = False
 
       -- Case: see Note [Case expressions are work-free]
-      -- App:  see Note [Arugments in exprIsOk]
+      -- App:  see Note [Arguments in exprIsOk]
       -- Let:  the old exprIsCheap worked through lets
 
 
diff --git a/testsuite/tests/deSugar/should_run/DsStrict.hs b/testsuite/tests/deSugar/should_run/DsStrict.hs
index ef3f06f..aa11735 100644
--- a/testsuite/tests/deSugar/should_run/DsStrict.hs
+++ b/testsuite/tests/deSugar/should_run/DsStrict.hs
@@ -14,7 +14,7 @@ f1' ~n =
   case n of
     ~a -> "case2"
 
-f2 = \a -> "lamda"
+f2 = \a -> "lambda"
 f2' = \ ~a -> "lambda2"
 
 newtype Age = MkAge Int
diff --git a/testsuite/tests/deSugar/should_run/DsStrict.stdout b/testsuite/tests/deSugar/should_run/DsStrict.stdout
index 7895f2a..ec66884 100644
--- a/testsuite/tests/deSugar/should_run/DsStrict.stdout
+++ b/testsuite/tests/deSugar/should_run/DsStrict.stdout
@@ -2,7 +2,7 @@ fun
 fun2
 case
 case2
-lamda
+lambda
 lambda2
 newtype
 newtype2



More information about the ghc-commits mailing list