[commit: ghc] master: Tweak comments (4627575)

git at git.haskell.org git at git.haskell.org
Thu Jun 5 20:08:30 UTC 2014


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

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

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

commit 46275750b17a26a42e4e9faf1e5bc4af3febdc18
Author: Gabor Greif <ggreif at gmail.com>
Date:   Thu Jun 5 22:03:31 2014 +0200

    Tweak comments


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

46275750b17a26a42e4e9faf1e5bc4af3febdc18
 compiler/rename/RnEnv.lhs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compiler/rename/RnEnv.lhs b/compiler/rename/RnEnv.lhs
index a89ab1f..d79fae4 100644
--- a/compiler/rename/RnEnv.lhs
+++ b/compiler/rename/RnEnv.lhs
@@ -273,13 +273,13 @@ lookupExactOcc name
                          ; return (gre_name gre)
                          }
            -- We can get more than one GRE here, if there are multiple 
-           -- bindings for the same name. Sometimes they are catched later
-           -- by findLocalDupsRdrEnv, like in the this example (Trac #8932):
+           -- bindings for the same name. Sometimes they are caught later
+           -- by findLocalDupsRdrEnv, like in this example (Trac #8932):
            --    $( [d| foo :: a->a; foo x = x |])
            --    foo = True
-           -- But when the names are totally identical, we get panic (Trac #7241):
+           -- But when the names are totally identical, we panic (Trac #7241):
            --    $(newName "Foo" >>= \o -> return [DataD [] o [] [RecC o []] [''Show]])
-           -- So, lets emit error here, even if it will lead to two errors in some cases.
+           -- So, let's emit an error here, even if it will lead to duplication in some cases.
        }
 
   where



More information about the ghc-commits mailing list