Change representation of HsGetField and HsProjection
This is a subtask of issue #19463:
- Add
type instance Anno FieldLabelString = SrcSpantoGHC.Hs.Expr - Add
type instance Anno (HsFieldLabel (GhcPass p)) = SrcSpantoGHC.Hs.Expr - Change
HsFieldLabel'sLocated FieldLabelStringtoXRec pass FieldLabelString - Change
FieldLabelStrings [Located (HsFieldLabel p)]toFieldLabelStrings [XRec p (HsFieldLabel p)] - Rename
HsFieldLabeltoDotFieldOcc(renaming fields accordingly); - Change occurrences of
Located (HsFieldLabel p)inHsGetFieldandHsProjectiontoXRec p (DotFieldOcc p).
Edited by Shayne Fletcher