diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2022-04-10 16:37:16 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-05-23 21:04:49 -0400 |
commit | e9fff12b34bb9770491d24eff5c280f44dc8cfc1 (patch) | |
tree | 13007782780918e0b69f27d1157a3d4d487997d1 /compiler/GHC/Hs | |
parent | 1a4195b04866ebdb5f42006fb92b8a73a4aa2bac (diff) | |
download | haskell-e9fff12b34bb9770491d24eff5c280f44dc8cfc1.tar.gz |
EPA : Remove duplicate comments in DataFamInstD
The code
data instance Method PGMigration = MigrationQuery Query
-- ^ Run a query against the database
| MigrationCode (Connection -> IO (Either String ()))
-- ^ Run any arbitrary IO code
Resulted in two instances of the "-- ^ Run a query against the database"
comment appearing in the Exact Print Annotations when it was parsed.
Ensure only one is kept.
Closes #20239
Diffstat (limited to 'compiler/GHC/Hs')
-rw-r--r-- | compiler/GHC/Hs/Decls.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/GHC/Hs/Decls.hs b/compiler/GHC/Hs/Decls.hs index 568783bdb5..c83a05256a 100644 --- a/compiler/GHC/Hs/Decls.hs +++ b/compiler/GHC/Hs/Decls.hs @@ -744,9 +744,7 @@ type instance XXClsInstDecl (GhcPass _) = DataConCantHappen type instance XClsInstD (GhcPass _) = NoExtField -type instance XDataFamInstD GhcPs = EpAnn [AddEpAnn] -type instance XDataFamInstD GhcRn = NoExtField -type instance XDataFamInstD GhcTc = NoExtField +type instance XDataFamInstD (GhcPass _) = NoExtField type instance XTyFamInstD GhcPs = NoExtField type instance XTyFamInstD GhcRn = NoExtField |