From e9fff12b34bb9770491d24eff5c280f44dc8cfc1 Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Sun, 10 Apr 2022 16:37:16 +0200 Subject: 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 --- compiler/GHC/Hs/Decls.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compiler/GHC/Hs') 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 -- cgit v1.2.1