diff options
author | Shayne Fletcher <shayne@shaynefletcher.org> | 2021-05-02 16:56:55 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-05-27 02:35:47 -0400 |
commit | 9935e99c893b9d5eb0a879116144cf62cc986e7d (patch) | |
tree | 12b0b1553278c04ac2ad31102205199ef2bb0413 /utils | |
parent | 03d69e4bb6b92ccd8238bebd9cff68da23741f49 (diff) | |
download | haskell-9935e99c893b9d5eb0a879116144cf62cc986e7d.tar.gz |
Change representation of HsGetField and HsProjection
Another change in a series improving record syntax in the AST. The key
change in this commit is the renaming of `HsFieldLabel` to `DotFieldOcc`.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/check-exact/ExactPrint.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/check-exact/ExactPrint.hs b/utils/check-exact/ExactPrint.hs index 8786e03fd8..afb19d8bd9 100644 --- a/utils/check-exact/ExactPrint.hs +++ b/utils/check-exact/ExactPrint.hs @@ -2268,10 +2268,10 @@ instance ExactPrint (FieldLabelStrings GhcPs) where -- --------------------------------------------------------------------- -instance ExactPrint (HsFieldLabel GhcPs) where - getAnnotationEntry (HsFieldLabel an _) = fromAnn an +instance ExactPrint (DotFieldOcc GhcPs) where + getAnnotationEntry (DotFieldOcc an _) = fromAnn an - exact (HsFieldLabel an fs) = do + exact (DotFieldOcc an fs) = do markAnnKwM an afDot AnnDot markAnnotated fs |