Outdated comments in RnSource.hs
While reading sources of the Renamer I noticed some comments which seem to be irrelevant now.
The body of rnSrcDecls (RnSource.hs) is broken up in several “parts” (A, B, etc.). #b1884b0e removed what is used to be called part (C) — the use of extendRecordFieldEnv, with the following comment in D761:
Get rid of
extendRecordFieldEnv, do it ingetLocalNonValBindersinstead
(Note: getLocalNonValBinders belongs to part (B)). At the same time, the references to this part (C) remained in comments to other "parts" (B and D2). Removing these references will save inexperienced reader from confusion.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (Type checker) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |