summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2018-04-17 13:19:40 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2018-04-17 13:35:08 +0100
commitfe325d3dc3750274c742b9814bf7915f17546e7c (patch)
treebeb193a73b3f7d25de1b1cb2c361ccaf5ecbbde6
parent788965922facefb6cf666a9fcf71a12f847072d7 (diff)
downloadhaskell-fe325d3dc3750274c742b9814bf7915f17546e7c.tar.gz
Comments only
Deleting misleading comments, to fix Trac #15047
-rw-r--r--compiler/rename/RnSource.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rename/RnSource.hs b/compiler/rename/RnSource.hs
index 07dcff2a04..8bea770a08 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 ;