[commit: ghc] master: Some typos in comments (4ceb5de)
git at git.haskell.org
git at git.haskell.org
Thu Apr 24 11:42:57 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804/ghc
>---------------------------------------------------------------
commit 4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804
Author: Gabor Greif <ggreif at gmail.com>
Date: Thu Apr 24 12:27:50 2014 +0200
Some typos in comments
>---------------------------------------------------------------
4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804
compiler/simplCore/SimplUtils.lhs | 2 +-
compiler/typecheck/TcDefaults.lhs | 2 +-
testsuite/tests/perf/should_run/T149_A.hs | 2 +-
testsuite/tests/perf/should_run/T149_B.hs | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/compiler/simplCore/SimplUtils.lhs b/compiler/simplCore/SimplUtils.lhs
index a3042a7..59e5d4a 100644
--- a/compiler/simplCore/SimplUtils.lhs
+++ b/compiler/simplCore/SimplUtils.lhs
@@ -1208,7 +1208,7 @@ tryEtaExpandRhs env bndr rhs
, let new_arity1 = findRhsArity dflags bndr rhs old_arity
new_arity2 = idCallArity bndr
new_arity = max new_arity1 new_arity2
- , new_arity > old_arity -- And the curent manifest arity isn't enough
+ , new_arity > old_arity -- And the current manifest arity isn't enough
= do { tick (EtaExpansion bndr)
; return (new_arity, etaExpand new_arity rhs) }
| otherwise
diff --git a/compiler/typecheck/TcDefaults.lhs b/compiler/typecheck/TcDefaults.lhs
index d05a948..a096e50 100644
--- a/compiler/typecheck/TcDefaults.lhs
+++ b/compiler/typecheck/TcDefaults.lhs
@@ -39,7 +39,7 @@ tcDefaults :: [LDefaultDecl Name]
tcDefaults []
= getDeclaredDefaultTys -- No default declaration, so get the
-- default types from the envt;
- -- i.e. use the curent ones
+ -- i.e. use the current ones
-- (the caller will put them back there)
-- It's important not to return defaultDefaultTys here (which
-- we used to do) because in a TH program, tcDefaults [] is called
diff --git a/testsuite/tests/perf/should_run/T149_A.hs b/testsuite/tests/perf/should_run/T149_A.hs
index dc24f4c..22ec276 100644
--- a/testsuite/tests/perf/should_run/T149_A.hs
+++ b/testsuite/tests/perf/should_run/T149_A.hs
@@ -2,7 +2,7 @@ module Main (main) where
-- See Trac #149
--- Curently (with GHC 7.0) the CSE works, just,
+-- Currently (with GHC 7.0) the CSE works, just,
-- but it's delicate.
diff --git a/testsuite/tests/perf/should_run/T149_B.hs b/testsuite/tests/perf/should_run/T149_B.hs
index ef5b9c5..514fd16 100644
--- a/testsuite/tests/perf/should_run/T149_B.hs
+++ b/testsuite/tests/perf/should_run/T149_B.hs
@@ -2,7 +2,7 @@ module Main (main) where
-- See Trac #149
--- Curently (with GHC 7.0) the CSE works, just,
+-- Currently (with GHC 7.0) the CSE works, just,
-- but it's delicate.
More information about the ghc-commits
mailing list