Note [Collect binders only after renaming]
These functions should only be used on HsSyn *after* the renamer, to return a [Name] or [Id]. Before renaming the record punning and wild-card mechanism makes it hard to know what is bound. So these functions should not be applied to (HsSyn RdrName)
References 0
This Note does not link to any other.
Referenced by 3
- GHC.Rename.Bind call site
- GHC.Rename.Pat call site
- Binders in Template Haskell GHC.ThToHs