Change representation of HsGetField and HsProjection
This is a subtask of issue #19463:
- Add
type instance Anno FieldLabelString = SrcSpan
toGHC.Hs.Expr
- Add
type instance Anno (HsFieldLabel (GhcPass p)) = SrcSpan
toGHC.Hs.Expr
- Change
HsFieldLabel
'sLocated FieldLabelString
toXRec pass FieldLabelString
- Change
FieldLabelStrings [Located (HsFieldLabel p)]
toFieldLabelStrings [XRec p (HsFieldLabel p)]
- Rename
HsFieldLabel
toDotFieldOcc
(renaming fields accordingly); - Change occurrences of
Located (HsFieldLabel p)
inHsGetField
andHsProjection
toXRec p (DotFieldOcc p)
.