[commit: ghc] master: Comments only (fe325d3)
git at git.haskell.org
git at git.haskell.org
Tue Apr 17 14:22:04 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/fe325d3dc3750274c742b9814bf7915f17546e7c/ghc
>---------------------------------------------------------------
commit fe325d3dc3750274c742b9814bf7915f17546e7c
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue Apr 17 13:19:40 2018 +0100
Comments only
Deleting misleading comments, to fix Trac #15047
>---------------------------------------------------------------
fe325d3dc3750274c742b9814bf7915f17546e7c
compiler/rename/RnSource.hs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/compiler/rename/RnSource.hs b/compiler/rename/RnSource.hs
index 07dcff2..8bea770 100644
--- a/compiler/rename/RnSource.hs
+++ b/compiler/rename/RnSource.hs
@@ -113,7 +113,6 @@ rnSrcDecls group@(HsGroup { hs_valds = val_decls,
--
-- * Class ops, data constructors, and record fields,
-- because they do not have value declarations.
- -- Aso step (C) depends on datacons and record fields
--
-- * For hs-boot files, include the value signatures
-- Again, they have no value declarations
@@ -132,8 +131,7 @@ rnSrcDecls group@(HsGroup { hs_valds = val_decls,
extendPatSynEnv val_decls local_fix_env $ \pat_syn_bndrs -> do {
-- (D2) Rename the left-hand sides of the value bindings.
- -- This depends on everything from (B) being in scope,
- -- and on (C) for resolving record wild cards.
+ -- This depends on everything from (B) being in scope.
-- It uses the fixity env from (A) to bind fixities for view patterns.
new_lhs <- rnTopBindsLHS local_fix_env val_decls ;
More information about the ghc-commits
mailing list