Changes to HsRecField'
This is a sub-task of issue #19463.
- Rename
HsRecField'toHsFieldBind - Change its definition to:
type instance XXHsFieldBind (GhcPass _) = NoExtCon data HsFieldBind p lhs rhs = HsFieldBind { hfbAnn :: XHsFieldBind lhs, hfbLHS :: lhs, hfbRHS :: rhs, -- ^ Filled in by renamer when punning hfbPun :: Bool -- ^ Note [Punning] } | XHsFieldBind !(XXHsFieldBind p) type HsRecField p arg = HsFieldBind p (LFieldOcc p) arg - This changes
XHsRecFieldtoXHsFieldBind -
hsRecFieldLblnow renamedhfbLHSno longer includesLocatedin its defn - Update call-sites (
Located) moves to the call-sites):HsRecFieldHsRecUpdField-
RecProj p arg(for the interim until eliminated in a later pass) - After this one assumes these
Locateds should be replaced withXRec p
Edited by Shayne Fletcher